Author: mcrosier
Date: Mon Feb 25 13:13:23 2013
New Revision: 176038

URL: http://llvm.org/viewvc/llvm-project?rev=176038&view=rev
Log:
Add a front-end test case for r176036.

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=176038&r1=176037&r2=176038&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/ms-inline-asm.c (original)
+++ cfe/trunk/test/CodeGen/ms-inline-asm.c Mon Feb 25 13:13:23 2013
@@ -349,4 +349,12 @@ int *t30()
 // CHECK: call void asm sideeffect inteldialect "mov dword ptr $0, edi", 
"=*m,~{dirflag},~{fpsr},~{flags}"(i32** %{{.*}}) [[NUW]]
 }
 
+void t31() {
+  __asm pushad
+  __asm popad
+// CHECK: t31
+// CHECK: call void asm sideeffect inteldialect "pushad", 
"~{dirflag},~{fpsr},~{flags}"() [[NUW]]
+// CHECK: call void asm sideeffect inteldialect "popad", 
"~{dirflag},~{fpsr},~{flags}"() [[NUW]]
+}
+
 // CHECK: attributes [[NUW]] = { nounwind }


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to