forked from OSchip/llvm-project
Fix "result of 32-bit shift implicitly converted to 64 bits" warning. NFC.
This commit is contained in:
parent
d76202d3e3
commit
6945d383b9
|
@ -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