[cfe-commits] r165045 - /cfe/trunk/test/CodeGen/ms-inline-asm.c

Chad Rosier mcrosier at apple.com
Tue Oct 2 13:55:30 PDT 2012


Author: mcrosier
Date: Tue Oct  2 15:55:30 2012
New Revision: 165045

URL: http://llvm.org/viewvc/llvm-project?rev=165045&view=rev
Log:
[ms-inline asm] Fixup test case to be valid ms-style asm.  Fix whitespace.

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=165045&r1=165044&r2=165045&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/ms-inline-asm.c (original)
+++ cfe/trunk/test/CodeGen/ms-inline-asm.c Tue Oct  2 15:55:30 2012
@@ -57,6 +57,7 @@
 // CHECK: call void asm sideeffect inteldialect "int $$0x2c", "~{dirflag},~{fpsr},~{flags}"() nounwind
 // CHECK: call void asm sideeffect inteldialect "", "~{dirflag},~{fpsr},~{flags}"() nounwind
 }
+
 int t8() {
   __asm int 3 ; } comments for single-line asm
   __asm {}
@@ -68,6 +69,7 @@
 // CHECK: call void asm sideeffect inteldialect "int $$4", "~{dirflag},~{fpsr},~{flags}"() nounwind
 // CHECK: ret i32 10
 }
+
 void t9() {
   __asm {
     push ebx
@@ -135,10 +137,10 @@
 // CHECK: call void asm sideeffect inteldialect "mov eax, DWORD PTR [eax]", "~{eax},~{dirflag},~{fpsr},~{flags}"() nounwind
 }
 
-void t16(unsigned long long V) {
+void t16(unsigned V) {
   __asm mov eax, DWORD PTR [V]
 // CHECK: t16
-// CHECK: call void asm sideeffect inteldialect "mov eax, DWORD PTR [$0]", "r,~{eax},~{dirflag},~{fpsr},~{flags}"(i64 %{{.*}}) nounwind
+// CHECK: call void asm sideeffect inteldialect "mov eax, DWORD PTR [$0]", "r,~{eax},~{dirflag},~{fpsr},~{flags}"(i32 %{{.*}}) nounwind
 }
 
 void t17(void) {





More information about the cfe-commits mailing list