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:
0c13998
)
Fix major problem with PHI node traversal: rechecking PHIs should go into
author
Chris Lattner
<sabre@nondot.org>
Fri, 25 Apr 2003 03:35:10 +0000
(
03:35
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 25 Apr 2003 03:35:10 +0000
(
03:35
+0000)
the visit function. The worklist is for when their lattice value changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5927
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 2b47832c141097adb30be7afa551db30f6369a06..8b33e228270370d45cb2ff43f0fbbdfbf628c093 100644
(file)
--- a/
lib/Transforms/Scalar/SCCP.cpp
+++ b/
lib/Transforms/Scalar/SCCP.cpp
@@
-162,7
+162,7
@@
private:
// can be rechecked.
for (BasicBlock::iterator I = BB->begin();
PHINode *PN = dyn_cast<PHINode>(I); ++I)
-
InstWorkList.push_back(
PN);
+
visitPHINode(*
PN);
} else {
DEBUG(std::cerr << "Marking BB Executable: " << *BB);