Fix MSVC "32-bit shift implicitly converted to 64 bits" warning. NFCI.

This commit is contained in:
Simon Pilgrim 2020-02-28 15:19:57 +00:00
parent 4bc6f63320
commit b6e80864b6
1 changed files with 1 additions and 1 deletions

View File

@ -1083,7 +1083,7 @@ HexagonTargetLowering::compressHvxPred(SDValue VecQ, const SDLoc &dl,
// These are bytes with the LSB rotated left with respect to their index. // These are bytes with the LSB rotated left with respect to their index.
for (unsigned i = 0; i != HwLen/8; ++i) { for (unsigned i = 0; i != HwLen/8; ++i) {
for (unsigned j = 0; j != 8; ++j) for (unsigned j = 0; j != 8; ++j)
Tmp.push_back(ConstantInt::get(Int8Ty, 1u << j)); Tmp.push_back(ConstantInt::get(Int8Ty, 1ull << j));
} }
Constant *CV = ConstantVector::get(Tmp); Constant *CV = ConstantVector::get(Tmp);
unsigned Align = HwLen; unsigned Align = HwLen;