projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16b18fd
)
Update comment
author
Chris Lattner
<sabre@nondot.org>
Wed, 8 Oct 2003 16:56:11 +0000
(16:56 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 8 Oct 2003 16:56:11 +0000
(16:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8965
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/SCCP.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/SCCP.cpp
b/lib/Transforms/Scalar/SCCP.cpp
index 48c116d5f35ab6fe427f260f1c151b299532aba0..3effa66eefef774ccbe2e0cde04db8b6298f360d 100644
(file)
--- 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);