projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ddb998
)
silence a vc++ warning.
author
Chris Lattner
<sabre@nondot.org>
Sat, 11 Jul 2009 22:31:59 +0000
(22:31 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 11 Jul 2009 22:31:59 +0000
(22:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75393
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/AddrModeMatcher.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/AddrModeMatcher.cpp
b/lib/Transforms/Utils/AddrModeMatcher.cpp
index 7a2bf8587b1d629f886ff1c138870ae5a93038a5..36091e6fe27cae6c72d407740a3a06ea2129bb35 100644
(file)
--- 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 = 1
LL
<< Scale;
return MatchScaledValue(AddrInst->getOperand(0), Scale, Depth);
}