diff --git a/polly/lib/IndVarSimplify.cpp b/polly/lib/IndVarSimplify.cpp index 09c0bb50a845..d056fb7c53bf 100644 --- a/polly/lib/IndVarSimplify.cpp +++ b/polly/lib/IndVarSimplify.cpp @@ -447,10 +447,8 @@ void PollyIndVarSimplify::HandleFloatingPointIV(Loop *L, PHINode *PN) { } // Add a new IVUsers entry for the newly-created integer PHI. - if (IU) { - SmallPtrSet SimpleLoopNests; - IU->AddUsersIfInteresting(NewPHI, SimpleLoopNests); - } + if (IU) + IU->AddUsersIfInteresting(NewPHI); Changed = true; } @@ -1969,11 +1967,8 @@ bool PollyIndVarSimplify::runOnLoop(Loop *L, LPPassManager &LPM) { // loop exit test instruction. if (IU && NewICmp) { ICmpInst *NewICmpInst = dyn_cast(NewICmp); - if (NewICmpInst) { - SmallPtrSet SimpleLoopNests; - IU->AddUsersIfInteresting(cast(NewICmpInst->getOperand(0)), - SimpleLoopNests); - } + if (NewICmpInst) + IU->AddUsersIfInteresting(cast(NewICmpInst->getOperand(0))); } // Clean up dead instructions. Changed |= DeleteDeadPHIs(L->getHeader());