aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/ms-inline-asm.c
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-08-08 21:15:52 +0000
committerChad Rosier <mcrosier@apple.com>2012-08-08 21:15:52 +0000
commit48a05b9e3a80b58a9089667ebb537b80af8c3263 (patch)
tree41d5752500651c8736b09cb92b07134746153a65 /test/CodeGen/ms-inline-asm.c
parent2016c8c4a2ebf528c54c42045bc6a30ae590147c (diff)
[ms-inline asm] Add basic codegen support for simple asm stmts. Currently,
only machine specific clobbers are modeled. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@161524 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ms-inline-asm.c')
-rw-r--r--test/CodeGen/ms-inline-asm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CodeGen/ms-inline-asm.c b/test/CodeGen/ms-inline-asm.c
index 2d36bbca52..3234b98bfa 100644
--- a/test/CodeGen/ms-inline-asm.c
+++ b/test/CodeGen/ms-inline-asm.c
@@ -1,7 +1,8 @@
-// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -O0 -fms-extensions -w -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple x86_64-apple-darwin10 -O0 -fms-extensions -fenable-experimental-ms-inline-asm -w -emit-llvm -o - | FileCheck %s
void t1() {
// CHECK: @t1
+// CHECK: call void asm sideeffect "", "~{dirflag},~{fpsr},~{flags}"() nounwind
// CHECK: ret void
__asm {}
}