diff options
Diffstat (limited to 'test/CodeGen/Generic/2007-04-27-InlineAsm-X-Dest.ll')
-rw-r--r-- | test/CodeGen/Generic/2007-04-27-InlineAsm-X-Dest.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2007-04-27-InlineAsm-X-Dest.ll b/test/CodeGen/Generic/2007-04-27-InlineAsm-X-Dest.ll new file mode 100644 index 000000000000..0ea13a2ad2e8 --- /dev/null +++ b/test/CodeGen/Generic/2007-04-27-InlineAsm-X-Dest.ll @@ -0,0 +1,8 @@ +; RUN: llvm-as < %s | llc + +; Test that we can have an "X" output constraint. + +define void @test(i16 * %t) { + call void asm sideeffect "foo $0", "=*X,~{dirflag},~{fpsr},~{flags},~{memory}"( i16* %t ) + ret void +} |