commit | b73ad85a9b1e8ca403d3bf7168ef360c46016b2f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Jul 11 22:31:59 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Jul 11 22:31:59 2009 +0000 |
tree | 8dad603c83a9f5567b6a7c7afd8c5c4a04715123 | |
parent | 0fd13586ee5b96fafcaabbd0eb2ff50819093e5b [diff] |
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 7a2bf85..36091e6 100644 --- a/lib/Transforms/Utils/AddrModeMatcher.cpp +++ b/lib/Transforms/Utils/AddrModeMatcher.cpp
@@ -206,7 +206,7 @@ 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); }