diff options
author | Chad Rosier <mcrosier@apple.com> | 2013-03-19 21:12:14 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2013-03-19 21:12:14 +0000 |
commit | 0f7ccd279dc65682899a6cdb112068f512bc0246 (patch) | |
tree | ce7659be58529d9877fef9ddfaf07973617902d6 /lib/Transforms | |
parent | d3e7416de7f4aae708a5cc57a9fcc75ad43e1e96 (diff) |
[ms-inline asm] Remove the brackets from X86Operand in the IR. These will be
added back in by X86AsmPrinter::printIntelMemReference() during codegen.
Previously, this following example
void t() {
int i;
__asm mov eax, [i]
}
would generate the below assembly
mov eax, dword ptr [[eax]]
which resulted in a fatal error when compiling. Test case coming on the
clang side.
rdar://13444264
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177440 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
0 files changed, 0 insertions, 0 deletions