Silencing an MSVC warning: '<<' : result of 32-bit shift implicitly converted to...
authorAaron Ballman <aaron@aaronballman.com>
Mon, 11 May 2015 12:45:53 +0000 (12:45 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 11 May 2015 12:45:53 +0000 (12:45 +0000)
llvm-svn: 236987

llvm/lib/Target/SystemZ/SystemZISelLowering.cpp

index 99bf54c..24b5a41 100644 (file)
@@ -3796,7 +3796,7 @@ static bool tryBuildVectorByteMask(BuildVectorSDNode *BVN, uint64_t &Mask) {
       for (unsigned J = 0; J < BytesPerElement; ++J) {
         uint64_t Byte = (Value >> (J * 8)) & 0xff;
         if (Byte == 0xff)
-          Mask |= 1 << ((E - I - 1) * BytesPerElement + J);
+          Mask |= 1ULL << ((E - I - 1) * BytesPerElement + J);
         else if (Byte != 0)
           return false;
       }