From 71683d352016a9f13b69763b822a6b0e8349c3da Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 15 Jun 2007 19:09:53 +0000 Subject: [PATCH] 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 --- test/CodeGen/X86/inline-asm-x-scalar.ll | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/CodeGen/X86/inline-asm-x-scalar.ll b/test/CodeGen/X86/inline-asm-x-scalar.ll index ba6e453039c..d1bac0c3b27 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 ); [#uses=1] + %tmp4 = sub float %tmp1, 0x3810000000000000 ; [#uses=1] + tail call void asm sideeffect "", "x,~{dirflag},~{fpsr},~{flags}"( float %tmp4 ) + ret void +} + -- 2.34.1