mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-10 14:10:58 +00:00
Fixed MSVC out of range shift warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277130 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d72920df2
commit
bf172ec934
@ -2062,7 +2062,7 @@ bool HexagonConstEvaluator::evaluate(const MachineInstr &MI,
|
||||
{
|
||||
int64_t B = MI.getOperand(2).getImm();
|
||||
assert(B >=0 && B < 32);
|
||||
APInt A(32, (1 << B), false);
|
||||
APInt A(32, (1ull << B), false);
|
||||
Register R(MI.getOperand(1));
|
||||
LatticeCell RC = Outputs.get(DefR.Reg);
|
||||
bool Eval = evaluateORri(R, A, Inputs, RC);
|
||||
|
Loading…
Reference in New Issue
Block a user