Run computeDomForest() on the set of registers that need to be tested for

interference.

llvm-svn: 44064
This commit is contained in:
Owen Anderson 2007-11-13 20:13:24 +00:00
parent 569ef71e44
commit d8167ab332
1 changed files with 6 additions and 5 deletions

View File

@ -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;
}
}