mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-27 21:50:40 +00:00
Silencing an MSVC C4334 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@216902 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4e2b661005
commit
edc658d686
@ -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