diff options
author | Chris Lattner <sabre@nondot.org> | 2007-03-25 04:35:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-03-25 04:35:23 +0000 |
commit | eab65a060c20c1120c233d56177fcfdb996d44a5 (patch) | |
tree | 8e11d48e87692103f01fab61ca9f04e9be69692c /test | |
parent | 2f5491791bdb413315691150765919dd4a4fb53d (diff) | |
download | external_llvm-eab65a060c20c1120c233d56177fcfdb996d44a5.zip external_llvm-eab65a060c20c1120c233d56177fcfdb996d44a5.tar.gz external_llvm-eab65a060c20c1120c233d56177fcfdb996d44a5.tar.bz2 |
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35326 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll b/test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll new file mode 100644 index 0000000..4cfe2dc --- /dev/null +++ b/test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll @@ -0,0 +1,9 @@ +; RUN: llvm-as < %s | llc -march=x86 | grep 'psrlw $8, %xmm0' +target datalayout = "e-p:32:32" +target triple = "i686-apple-darwin9" + +define void @test() { + tail call void asm sideeffect "psrlw $0, %xmm0", "X,~{dirflag},~{fpsr},~{flags}"( i32 8 ) + ret void +} + |