Remove code that's commented out.
authorEvan Cheng <evan.cheng@apple.com>
Thu, 25 Oct 2007 18:38:24 +0000 (18:38 +0000)
committerEvan 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

index a011dd732f5687e53021c700543c9bf3c1b1fb59..5805e02a55a5a45f037cdd1b5d3e4c2705f2b45a 100644 (file)
@@ -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;