From 2d7f447a7a3285fb86c6fed3f8b94758d3da20a3 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. llvm-svn: 37600 --- llvm/test/CodeGen/X86/inline-asm-x-scalar.ll | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/llvm/test/CodeGen/X86/inline-asm-x-scalar.ll b/llvm/test/CodeGen/X86/inline-asm-x-scalar.ll index ba6e453039cd..d1bac0c3b27d 100644 --- a/llvm/test/CodeGen/X86/inline-asm-x-scalar.ll +++ b/llvm/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 +} +