commit | 17d3799352555d9e552f2dc7fff599ef27ff7ce0 | [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 | f9ec45df069acc99960e8bbcf827b24038d3df98 | |
parent | 7ca135b25ff408fda31f3b01d5e9303054e8267f [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 llvm-svn: 177440