diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-11 22:31:59 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-11 22:31:59 +0000 |
commit | 5e5050d930f4a99c40dbf0cee3d7f101fd887ce2 (patch) | |
tree | 8dad603c83a9f5567b6a7c7afd8c5c4a04715123 /lib/Transforms/Utils/AddrModeMatcher.cpp | |
parent | 8ddb9989e6ca3363035eff753c3c5cb4952edaee (diff) |
silence a vc++ warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75393 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/AddrModeMatcher.cpp')
-rw-r--r-- | lib/Transforms/Utils/AddrModeMatcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/AddrModeMatcher.cpp b/lib/Transforms/Utils/AddrModeMatcher.cpp index 7a2bf8587b..36091e6fe2 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); } |