mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 23:29:20 +00:00
Run computeDomForest() on the set of registers that need to be tested for
interference. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44064 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
17b1418bea
commit
42f9e96e97
@ -285,14 +285,15 @@ void StrongPHIElimination::processBlock(MachineBasicBlock* MBB) {
|
||||
} else {
|
||||
PHIUnion.insert(SrcReg);
|
||||
UnionedBlocks.insert(SrcInfo.DefInst->getParent());
|
||||
|
||||
// DO STUFF HERE
|
||||
|
||||
}
|
||||
|
||||
ProcessedNames.insert(PHIUnion.begin(), PHIUnion.end());
|
||||
}
|
||||
|
||||
std::vector<StrongPHIElimination::DomForestNode*> DF =
|
||||
computeDomForest(PHIUnion);
|
||||
|
||||
// DO STUFF HERE
|
||||
|
||||
ProcessedNames.insert(PHIUnion.begin(), PHIUnion.end());
|
||||
++P;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user