1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00

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 4962b74184
commit 9d6924a218

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.
for (unsigned i = 0; i != HwLen/8; ++i) {
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);
unsigned Align = HwLen;