diff --git a/lib/Transforms/Scalar/SCCP.cpp b/lib/Transforms/Scalar/SCCP.cpp index 48c116d5f35..3effa66eefe 100644 --- a/lib/Transforms/Scalar/SCCP.cpp +++ b/lib/Transforms/Scalar/SCCP.cpp @@ -170,8 +170,8 @@ private: << " -> " << Dest->getName() << "\n"); // The destination is already executable, but we just made an edge - // feasible that wasn't before. Add the PHI nodes to the work list so - // that they can be rechecked. + // feasible that wasn't before. Revisit the PHI nodes in the block + // because they have potentially new operands. for (BasicBlock::iterator I = Dest->begin(); PHINode *PN = dyn_cast(I); ++I) visitPHINode(*PN);