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 | 2f67295aacce073c9abf9b7a081a70e4f2f5fec0 (patch) | |
| tree | ec311291b2184dc46ea49f37ef0b1551d4b00a07 /llvm/lib/Transforms | |
| parent | 056dfc6f9075194420079452c81fa1f0096e97eb (diff) | |
| download | bcm5719-llvm-2f67295aacce073c9abf9b7a081a70e4f2f5fec0.tar.gz bcm5719-llvm-2f67295aacce073c9abf9b7a081a70e4f2f5fec0.zip | |
silence a vc++ warning.
llvm-svn: 75393
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Utils/AddrModeMatcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/AddrModeMatcher.cpp b/llvm/lib/Transforms/Utils/AddrModeMatcher.cpp index 7a2bf8587b1..36091e6fe27 100644 --- a/llvm/lib/Transforms/Utils/AddrModeMatcher.cpp +++ b/llvm/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); } |

