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:
Owen Anderson
2007-11-13 20:13:24 +00:00
parent 17b1418bea
commit 42f9e96e97

View File

@@ -285,14 +285,15 @@ void StrongPHIElimination::processBlock(MachineBasicBlock* MBB) {
} else { } else {
PHIUnion.insert(SrcReg); PHIUnion.insert(SrcReg);
UnionedBlocks.insert(SrcInfo.DefInst->getParent()); 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; ++P;
} }
} }