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

Chad Rosier mcrosier at apple.com
Thu Jan 10 14:11:28 PST 2013


Author: mcrosier
Date: Thu Jan 10 16:11:28 2013
New Revision: 172122

URL: http://llvm.org/viewvc/llvm-project?rev=172122&view=rev
Log:
[ms-inline asm] Add test case for r172121. 
Part of rdar://12991541

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=172122&r1=172121&r2=172122&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/ms-inline-asm.c (original)
+++ cfe/trunk/test/CodeGen/ms-inline-asm.c Thu Jan 10 16:11:28 2013
@@ -239,3 +239,10 @@
 // CHECK: t23
 // CHECK: call void asm sideeffect inteldialect "the_label:", "~{dirflag},~{fpsr},~{flags}"() nounwind
 }
+
+void t24_helper(void) {}
+void t24() {
+  __asm call t24_helper
+// CHECK: t24
+// CHECK: call void asm sideeffect inteldialect "call $0", "r,~{dirflag},~{fpsr},~{flags}"(void ()* @t24_helper) nounwind
+}





More information about the cfe-commits mailing list