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:
6a83271
)
Delete a bogus check.
author
Dan Gohman
<gohman@apple.com>
Sun, 29 Aug 2010 15:30:29 +0000
(15:30 +0000)
committer
Dan Gohman
<gohman@apple.com>
Sun, 29 Aug 2010 15:30:29 +0000
(15:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112438
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index d3d17a96527136b5872e0a6e988243d640a27ab5..17ff08d96c78d6a26fe581c6beebfe79e1f81137 100644
(file)
--- a/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@
-1954,8
+1954,7
@@
LSRInstance::FindUseWithSimilarFormula(const Formula &OrigF,
if (F.BaseRegs == OrigF.BaseRegs &&
F.ScaledReg == OrigF.ScaledReg &&
F.AM.BaseGV == OrigF.AM.BaseGV &&
- F.AM.Scale == OrigF.AM.Scale &&
- LU.Kind) {
+ F.AM.Scale == OrigF.AM.Scale) {
if (F.AM.BaseOffs == 0)
return &LU;
// This is the formula where all the registers and symbols matched;