mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Fix MSVC warning about extending a uint32_t shift result to uint64_t. NFCI.
llvm-svn: 366808
This commit is contained in:
parent
d94196c599
commit
8b79bd9f66
@ -4502,9 +4502,9 @@ void AMDGPUTargetLowering::computeKnownBitsForTargetNode(
|
||||
Known.One |= ((LHSKnown.One.getZExtValue() >> SelBits) & 0xff) << I;
|
||||
Known.Zero |= ((LHSKnown.Zero.getZExtValue() >> SelBits) & 0xff) << I;
|
||||
} else if (SelBits == 0x0c) {
|
||||
Known.Zero |= 0xff << I;
|
||||
Known.Zero |= 0xFFull << I;
|
||||
} else if (SelBits > 0x0c) {
|
||||
Known.One |= 0xff << I;
|
||||
Known.One |= 0xFFull << I;
|
||||
}
|
||||
Sel >>= 8;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user