aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/SCCP.cpp
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
commit929c6fbcbc12fdf2826b223a9171d25bd0fc1748 (patch)
tree013e0c91d7665ce5763ebea337908c677e1a16af /lib/Transforms/Scalar/SCCP.cpp
parent16b18fdc35cec3510f48cfe01e030d23c84aca55 (diff)
downloadexternal_llvm-929c6fbcbc12fdf2826b223a9171d25bd0fc1748.tar.gz
external_llvm-929c6fbcbc12fdf2826b223a9171d25bd0fc1748.tar.bz2
external_llvm-929c6fbcbc12fdf2826b223a9171d25bd0fc1748.zip
Update comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8965 91177308-0d34-0410-b5e6-96231b3b80d8
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);