aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-10-25 18:38:24 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-10-25 18:38:24 +0000
commit2c8ca5c415b876ef816286202621b1cf2c30fcad (patch)
treee5d1ee9643806215978fa26c19575f50978d128a
parent0713a224234b4596709c7582ebf17a1ccb95c872 (diff)
downloadexternal_llvm-2c8ca5c415b876ef816286202621b1cf2c30fcad.zip
external_llvm-2c8ca5c415b876ef816286202621b1cf2c30fcad.tar.gz
external_llvm-2c8ca5c415b876ef816286202621b1cf2c30fcad.tar.bz2
Remove code that's commented out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43356 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index a011dd7..5805e02 100644
--- 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;