Fix "result of 32-bit shift implicitly converted to 64 bits" warning. NFC.

This commit is contained in:
Simon Pilgrim 2019-12-21 17:45:30 +00:00
parent d76202d3e3
commit 6945d383b9
1 changed files with 1 additions and 1 deletions

View File

@ -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;