r179182 - [ms-inline asm] Add a few test cases that were regressed by r179115. That
Chad Rosier
mcrosier at apple.com
Wed Apr 10 09:33:34 PDT 2013
Author: mcrosier
Date: Wed Apr 10 11:33:34 2013
New Revision: 179182
URL: http://llvm.org/viewvc/llvm-project?rev=179182&view=rev
Log:
[ms-inline asm] Add a few test cases that were regressed by r179115. That
commit was reverted in r179120, but I do plan on reapplying with a fix shortly.
Part of rdar://13611297
Modified:
cfe/trunk/test/CodeGen/ms-inline-asm.c
Modified: cfe/trunk/test/CodeGen/ms-inline-asm.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/ms-inline-asm.c?rev=179182&r1=179181&r2=179182&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/ms-inline-asm.c (original)
+++ cfe/trunk/test/CodeGen/ms-inline-asm.c Wed Apr 10 11:33:34 2013
@@ -402,6 +402,9 @@ void t35() {
void t36() {
int arr[4];
__asm mov eax, 4[arr]
+ __asm mov eax, [arr + 4]
+ __asm mov eax, [4 + arr]
+ __asm mov eax, [4 + arr + 4]
// CHECK: t36
// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr $$4$0", "*m,~{eax},~{dirflag},~{fpsr},~{flags}"([4 x i32]* %arr)
}
More information about the cfe-commits
mailing list