mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Fix these constants to be more portable.
llvm-svn: 97779
This commit is contained in:
parent
e5b9ea020f
commit
0a01ba144d
@ -2011,11 +2011,11 @@ SDValue SelectionDAGLegalize::ExpandLegalINT_TO_FP(bool isSigned,
|
||||
|
||||
// Implementation following __floatundidf in compiler_rt.
|
||||
SDValue TwoP52 =
|
||||
DAG.getConstant(0x4330000000000000, MVT::i64);
|
||||
DAG.getConstant(UINT64_C(0x4330000000000000), MVT::i64);
|
||||
SDValue TwoP84PlusTwoP52 =
|
||||
DAG.getConstantFP(BitsToDouble(0x4530000000100000), MVT::f64);
|
||||
DAG.getConstantFP(BitsToDouble(UINT64_C(0x4530000000100000)), MVT::f64);
|
||||
SDValue TwoP84 =
|
||||
DAG.getConstant(0x4530000000000000, MVT::i64);
|
||||
DAG.getConstant(UINT64_C(0x4530000000000000), MVT::i64);
|
||||
|
||||
SDValue Lo = DAG.getZeroExtendInReg(Op0, dl, MVT::i32);
|
||||
SDValue Hi = DAG.getNode(ISD::SRL, dl, MVT::i64, Op0,
|
||||
|
Loading…
Reference in New Issue
Block a user