diff options
Diffstat (limited to 'lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LoopStrengthReduce.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index a011dd732f..5805e02a55 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; |