From 007f9847c44ddbe7fd04cba362b4ec0f0f40964b Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Thu, 10 Jan 2008 10:28:30 +0000 Subject: Output sinl for a long double FSIN node, not sin. Likewise fix up a bunch of other libcalls. While there I remove NEG_F32 and NEG_F64 since they are not used anywhere. This fixes 9 Ada ACATS failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45833 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2008-01-09-LongDoubleSin.ll | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/CodeGen/X86/2008-01-09-LongDoubleSin.ll (limited to 'test/CodeGen/X86') diff --git a/test/CodeGen/X86/2008-01-09-LongDoubleSin.ll b/test/CodeGen/X86/2008-01-09-LongDoubleSin.ll new file mode 100644 index 0000000..962d6ec --- /dev/null +++ b/test/CodeGen/X86/2008-01-09-LongDoubleSin.ll @@ -0,0 +1,11 @@ +; RUN: llvm-as < %s | llc -o - | grep sinl + +target triple = "i686-pc-linux-gnu" + +define x86_fp80 @f(x86_fp80 %x) nounwind { +entry: + %tmp2 = tail call x86_fp80 @sinl( x86_fp80 %x ) nounwind readonly ; [#uses=1] + ret x86_fp80 %tmp2 +} + +declare x86_fp80 @sinl(x86_fp80) nounwind readonly -- cgit v1.1