aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/inline-asm-x-scalar.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-06-15 19:09:53 +0000
committerChris Lattner <sabre@nondot.org>2007-06-15 19:09:53 +0000
commit71683d352016a9f13b69763b822a6b0e8349c3da (patch)
treed68fcf403211f140829381ea89e3cbcad03ca7e5 /test/CodeGen/X86/inline-asm-x-scalar.ll
parentbf9d02eaf6378c3d35d6202ad803b0374132fc61 (diff)
downloadexternal_llvm-71683d352016a9f13b69763b822a6b0e8349c3da.zip
external_llvm-71683d352016a9f13b69763b822a6b0e8349c3da.tar.gz
external_llvm-71683d352016a9f13b69763b822a6b0e8349c3da.tar.bz2
make this test harder, include a tied register.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37600 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/inline-asm-x-scalar.ll')
-rw-r--r--test/CodeGen/X86/inline-asm-x-scalar.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/X86/inline-asm-x-scalar.ll b/test/CodeGen/X86/inline-asm-x-scalar.ll
index ba6e453..d1bac0c 100644
--- a/test/CodeGen/X86/inline-asm-x-scalar.ll
+++ b/test/CodeGen/X86/inline-asm-x-scalar.ll
@@ -15,3 +15,10 @@ define void @test3() {
ret void
}
+define void @test4() {
+ %tmp1 = tail call float asm "", "=x,0,~{dirflag},~{fpsr},~{flags}"( float 0x47EFFFFFE0000000 ); <float> [#uses=1]
+ %tmp4 = sub float %tmp1, 0x3810000000000000 ; <float> [#uses=1]
+ tail call void asm sideeffect "", "x,~{dirflag},~{fpsr},~{flags}"( float %tmp4 )
+ ret void
+}
+