1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00
llvm-mirror/test/CodeGen/X86/2008-01-09-LongDoubleSin.ll
Duncan Sands 2c89976416 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.

llvm-svn: 45833
2008-01-10 10:28:30 +00:00

12 lines
299 B
LLVM

; 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 ; <x86_fp80> [#uses=1]
ret x86_fp80 %tmp2
}
declare x86_fp80 @sinl(x86_fp80) nounwind readonly