mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
Fix "result of 32-bit shift implicitly converted to 64 bits" warning. NFC.
This commit is contained in:
parent
94093a9d23
commit
64e7c37e84
@ -177,7 +177,7 @@ public:
|
||||
|
||||
int64_t MulImm = cast<ConstantSDNode>(N)->getSExtValue();
|
||||
if (Shift)
|
||||
MulImm = 1 << MulImm;
|
||||
MulImm = 1LL << MulImm;
|
||||
|
||||
if ((MulImm % std::abs(Scale)) != 0)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user