summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-10-08 16:56:11 +0000
committerChris Lattner <sabre@nondot.org>2003-10-08 16:56:11 +0000
commit35e56e7372b7bd3f52fe7804f65803d583f8c762 (patch)
treea82ed24e3e58d0bb07f3255f546a7cf8cba2e44a /llvm/lib/Transforms
parent0bbbe5d4c8e22dd105ec9958dc7862741b411e7f (diff)
downloadbcm5719-llvm-35e56e7372b7bd3f52fe7804f65803d583f8c762.tar.gz
bcm5719-llvm-35e56e7372b7bd3f52fe7804f65803d583f8c762.zip
Update comment
llvm-svn: 8965
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/SCCP.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/SCCP.cpp b/llvm/lib/Transforms/Scalar/SCCP.cpp
index 48c116d5f35..3effa66eefe 100644
--- a/llvm/lib/Transforms/Scalar/SCCP.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud