aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/SCCP.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/Scalar/SCCP.cpp')
-rw-r--r--lib/Transforms/Scalar/SCCP.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/SCCP.cpp b/lib/Transforms/Scalar/SCCP.cpp
index 48c116d5f3..3effa66eef 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<PHINode>(I); ++I)
visitPHINode(*PN);