Remove code that's commented out.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43356 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng 2007-10-25 18:38:24 +00:00
parent 0713a22423
commit 2c8ca5c415

View 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;