diff options
| author | Chad Rosier <mcrosier@apple.com> | 2012-08-08 21:15:52 +0000 |
|---|---|---|
| committer | Chad Rosier <mcrosier@apple.com> | 2012-08-08 21:15:52 +0000 |
| commit | 360e1763d522bb73b721b4d3e972eee31da997fe (patch) | |
| tree | a5d482094469f3506a1df3f4fa0d09e8089226ef /clang/test/CodeGen | |
| parent | 0415f3e13888d6c72f0d0463c2d3604b3b746985 (diff) | |
| download | bcm5719-llvm-360e1763d522bb73b721b4d3e972eee31da997fe.tar.gz bcm5719-llvm-360e1763d522bb73b721b4d3e972eee31da997fe.zip | |
[ms-inline asm] Add basic codegen support for simple asm stmts. Currently,
only machine specific clobbers are modeled.
llvm-svn: 161524
Diffstat (limited to 'clang/test/CodeGen')
| -rw-r--r-- | clang/test/CodeGen/ms-inline-asm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/CodeGen/ms-inline-asm.c b/clang/test/CodeGen/ms-inline-asm.c index 2d36bbca523..3234b98bfa2 100644 --- a/clang/test/CodeGen/ms-inline-asm.c +++ b/clang/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 {} } |

