Silencing a "result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift...
authorAaron Ballman <aaron@aaronballman.com>
Wed, 25 Feb 2015 13:05:24 +0000 (13:05 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Wed, 25 Feb 2015 13:05:24 +0000 (13:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230489 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCISelLowering.cpp

index 567cd2aa0e48d77aa86ed94af4e645439c154ec2..4f3a625633f376394a9c8d050f8d6fc1d62505d8 100644 (file)
@@ -9987,7 +9987,7 @@ SDValue PPCTargetLowering::PerformDAGCombine(SDNode *N,
                 isa<ConstantSDNode>(UI->getOperand(1)) &&
                 (cast<ConstantSDNode>(Add->getOperand(1))->getZExtValue() -
                  cast<ConstantSDNode>(UI->getOperand(1))->getZExtValue()) %
-                (1 << Bits) == 0) {
+                (1ULL << Bits) == 0) {
               SDNode *OtherAdd = *UI;
               for (SDNode::use_iterator VI = OtherAdd->use_begin(),
                    VE = OtherAdd->use_end(); VI != VE; ++VI) {