mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Silencing an MSVC C4334 warning ('<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)). NFC.
llvm-svn: 216902
This commit is contained in:
parent
c1288ad655
commit
debd1a67f5
@ -7940,7 +7940,7 @@ bool checkValueWidth(SDValue V, unsigned width, ISD::LoadExtType &ExtType) {
|
||||
case ISD::Constant:
|
||||
case ISD::TargetConstant: {
|
||||
if (std::abs(cast<ConstantSDNode>(V.getNode())->getSExtValue()) <
|
||||
1 << (width - 1))
|
||||
1LL << (width - 1))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user