[cfe-commits] r163731 - /cfe/trunk/test/CodeGen/ms-inline-asm.c
Chad Rosier
mcrosier at apple.com
Wed Sep 12 11:34:34 PDT 2012
Author: mcrosier
Date: Wed Sep 12 13:34:34 2012
New Revision: 163731
URL: http://llvm.org/viewvc/llvm-project?rev=163731&view=rev
Log:
[ms-inline asm] Add a test case.
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=163731&r1=163730&r2=163731&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/ms-inline-asm.c (original)
+++ cfe/trunk/test/CodeGen/ms-inline-asm.c Wed Sep 12 13:34:34 2012
@@ -145,3 +145,9 @@
// CHECK: t17
// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr [eax]", "~{eax},~{dirflag},~{fpsr},~{flags}"() nounwind
}
+
+void t18(void) {
+ __asm mov dword ptr [eax], eax
+// CHECK: t18
+// CHECK: call void asm sideeffect inteldialect "mov dword ptr [eax], eax", "~{dirflag},~{fpsr},~{flags}"() nounwind
+}
More information about the cfe-commits
mailing list