forked from OSchip/llvm-project
Use LL suffix for literal that should be 64-bits.
This hopefully fixes Windows llvm-svn: 211225
This commit is contained in:
parent
7d0c066346
commit
b55c68f171
|
@ -1640,7 +1640,7 @@ SDValue AMDGPUTargetLowering::LowerFTRUNC(SDValue Op, SelectionDAG &DAG) const {
|
|||
SignBit64 = DAG.getNode(ISD::BITCAST, SL, MVT::i64, SignBit64);
|
||||
|
||||
SDValue BcInt = DAG.getNode(ISD::BITCAST, SL, MVT::i64, Src);
|
||||
const SDValue FractMask = DAG.getConstant((1L << FractBits) - 1, MVT::i64);
|
||||
const SDValue FractMask = DAG.getConstant((1LL << FractBits) - 1, MVT::i64);
|
||||
|
||||
SDValue Shr = DAG.getNode(ISD::SRA, SL, MVT::i64, FractMask, Exp);
|
||||
SDValue Not = DAG.getNOT(SL, Shr, MVT::i64);
|
||||
|
|
Loading…
Reference in New Issue