Silencing a 32-bit to 64-bit implicit conversion warning; NFC.
[oota-llvm.git] / lib / Target / X86 / X86ISelLowering.cpp
index 0174779223caa62689867b6d9b3ead8b7fd29126..9d8895fa7bd1ae173386df37736a0a817b93ce2c 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