[llvm-commits] [llvm] r45833 - in /llvm/trunk:	include/llvm/CodeGen/RuntimeLibcalls.h	lib/CodeGen/SelectionDAG/LegalizeDAG.cpp	lib/CodeGen/SelectionDAG/TargetLowering.cpp	lib/Target/PowerPC/PPCISelLowering.cpp	test/CodeGen/X86/2008-01-09-LongDoubleSin.ll
    Chris Lattner 
    clattner at apple.com
       
    Thu Jan 10 10:40:19 PST 2008
    
    
  
On Jan 10, 2008, at 2:28 AM, Duncan Sands wrote:
> URL: http://llvm.org/viewvc/llvm-project?rev=45833&view=rev
> Log:
> 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.
> +/// GetFPLibCall - Return the right libcall for the given floating  
> point type.
> +static RTLIB::Libcall GetFPLibCall(MVT::ValueType VT,
> +                                   RTLIB::Libcall Call_F32,
> +                                   RTLIB::Libcall Call_F64,
> +                                   RTLIB::Libcall Call_F80,
> +                                   RTLIB::Libcall Call_PPCF128) {
Nice solution Duncan,
-Chris
    
    
More information about the llvm-commits
mailing list