summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2014-06-18 21:40:43 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2014-06-18 21:40:43 +0000
commit311ea125062983e1949bc1efda1dfa8e853ee70d (patch)
treef906805558a6260946f1e88bc3c6f0b4e1c1b355 /lib
parent6c59006684aa23429900d175e0f0261c7cd594e4 (diff)
downloadllvm-311ea125062983e1949bc1efda1dfa8e853ee70d.tar.gz
llvm-311ea125062983e1949bc1efda1dfa8e853ee70d.tar.bz2
llvm-311ea125062983e1949bc1efda1dfa8e853ee70d.tar.xz
Use LL suffix for literal that should be 64-bits.
This hopefully fixes Windows git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211225 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/R600/AMDGPUISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/R600/AMDGPUISelLowering.cpp b/lib/Target/R600/AMDGPUISelLowering.cpp
index dc39bee651..45f1083904 100644
--- a/lib/Target/R600/AMDGPUISelLowering.cpp
+++ b/lib/Target/R600/AMDGPUISelLowering.cpp
@@ -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);