silence a vc++ warning.

llvm-svn: 75393
This commit is contained in:
Chris Lattner 2009-07-11 22:31:59 +00:00
parent 056dfc6f90
commit 2f67295aac
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ bool AddressingModeMatcher::MatchOperationAddr(User *AddrInst, unsigned Opcode,
if (!RHS) return false;
int64_t Scale = RHS->getSExtValue();
if (Opcode == Instruction::Shl)
Scale = 1 << Scale;
Scale = 1LL << Scale;
return MatchScaledValue(AddrInst->getOperand(0), Scale, Depth);
}