[llvm-commits] CVS: llvm/lib/Transforms/Scalar/SCCP.cpp
Chris Lattner
lattner at cs.uiuc.edu
Wed Oct 8 11:57:01 PDT 2003
Changes in directory llvm/lib/Transforms/Scalar:
SCCP.cpp updated: 1.77 -> 1.78
---
Log message:
Update comment
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/Transforms/Scalar/SCCP.cpp
diff -u llvm/lib/Transforms/Scalar/SCCP.cpp:1.77 llvm/lib/Transforms/Scalar/SCCP.cpp:1.78
--- llvm/lib/Transforms/Scalar/SCCP.cpp:1.77 Wed Oct 8 11:55:34 2003
+++ llvm/lib/Transforms/Scalar/SCCP.cpp Wed Oct 8 11:56:11 2003
@@ -170,8 +170,8 @@
<< " -> " << 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);
More information about the llvm-commits
mailing list