diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp index a011dd732f5..5805e02a55a 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::iterator UI = SI->second.Users.begin(), E = SI->second.Users.end(); UI != E; ++UI) { - // if (!isa(UI->Offset)) - // continue; NewIncV = UI->OperandValToReplace; if (NewIncV->getType() == CmpTy) break;