r176038 - Add a front-end test case for r176036.

Chad Rosier mcrosier at apple.com
Mon Feb 25 11:13:23 PST 2013


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 }





More information about the cfe-commits mailing list