mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-23 12:24:34 +00:00
Fix major problem with PHI node traversal: rechecking PHIs should go into
the visit function. The worklist is for when their lattice value changes. llvm-svn: 5927
This commit is contained in:
parent
ff58b89809
commit
c78cd5c758
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user