mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
Silencing an MSVC warning: '<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?); NFC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236987 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
1 parent
beb74d3cf7
commit
fe78d295da
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user