Silencing a 32-bit to 64-bit implicit conversion warning; NFC.
authorAaron Ballman <aaron@aaronballman.com>
Mon, 30 Nov 2015 14:52:33 +0000 (14:52 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 30 Nov 2015 14:52:33 +0000 (14:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254302 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 0174779..9d8895f 100644 (file)
@@ -6431,7 +6431,7 @@ X86TargetLowering::LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG) const {
   SmallVector<SDValue, 8> V(NumElems);
   if (NumElems == 4 && NumZero > 0) {
     for (unsigned i = 0; i < 4; ++i) {
-      bool isZero = !(NonZeros & (1 << i));
+      bool isZero = !(NonZeros & (1ULL << i));
       if (isZero)
         V[i] = getZeroVector(VT, Subtarget, DAG, dl);
       else