From: Chris Lattner Date: Sat, 11 Jul 2009 22:31:59 +0000 (+0000) Subject: silence a vc++ warning. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5e5050d930f4a99c40dbf0cee3d7f101fd887ce2;p=oota-llvm.git silence a vc++ warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75393 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/AddrModeMatcher.cpp b/lib/Transforms/Utils/AddrModeMatcher.cpp index 7a2bf8587b1..36091e6fe27 100644 --- a/lib/Transforms/Utils/AddrModeMatcher.cpp +++ b/lib/Transforms/Utils/AddrModeMatcher.cpp @@ -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); }