commit | 0f7ccd279dc65682899a6cdb112068f512bc0246 | [log] [tgz] |
---|---|---|
author | Chad Rosier <mcrosier@apple.com> | Tue Mar 19 21:12:14 2013 +0000 |
committer | Chad Rosier <mcrosier@apple.com> | Tue Mar 19 21:12:14 2013 +0000 |
tree | ce7659be58529d9877fef9ddfaf07973617902d6 | |
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