mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-12 18:33:22 +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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0c13998775
commit
bceb2b0061
@ -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