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 | 17d3799352555d9e552f2dc7fff599ef27ff7ce0 (patch) | |
tree | f9ec45df069acc99960e8bbcf827b24038d3df98 /clang/test/CodeGenCXX/copy-in-cplus-object.cpp | |
parent | 7ca135b25ff408fda31f3b01d5e9303054e8267f (diff) | |
download | bcm5719-llvm-17d3799352555d9e552f2dc7fff599ef27ff7ce0.tar.gz bcm5719-llvm-17d3799352555d9e552f2dc7fff599ef27ff7ce0.zip |
[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
Diffstat (limited to 'clang/test/CodeGenCXX/copy-in-cplus-object.cpp')
0 files changed, 0 insertions, 0 deletions