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:
0713a22
)
Remove code that's commented out.
author
Evan Cheng
<evan.cheng@apple.com>
Thu, 25 Oct 2007 18:38:24 +0000
(18:38 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Thu, 25 Oct 2007 18:38:24 +0000
(18:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43356
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 a011dd732f5687e53021c700543c9bf3c1b1fb59..5805e02a55a5a45f037cdd1b5d3e4c2705f2b45a 100644
(file)
--- a/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/
lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@
-1469,8
+1469,6
@@
ICmpInst *LoopStrengthReduce::ChangeCompareStride(Loop *L, ICmpInst *Cond,
NewIncV = NULL;
for (std::vector<IVStrideUse>::iterator UI = SI->second.Users.begin(),
E = SI->second.Users.end(); UI != E; ++UI) {
- // if (!isa<SCEVConstant>(UI->Offset))
- // continue;
NewIncV = UI->OperandValToReplace;
if (NewIncV->getType() == CmpTy)
break;