diff options
author | Owen Anderson <resistor@mac.com> | 2007-11-13 20:13:24 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-11-13 20:13:24 +0000 |
commit | 42f9e96e97fd42cd71e7096ab7eb9eac7a9c8b32 (patch) | |
tree | f8f44d2248fc3a53cdf2d25df6e36dc4def2c8ba | |
parent | 17b1418bead13b5f78764f1435fc514475123dfc (diff) | |
download | external_llvm-42f9e96e97fd42cd71e7096ab7eb9eac7a9c8b32.zip external_llvm-42f9e96e97fd42cd71e7096ab7eb9eac7a9c8b32.tar.gz external_llvm-42f9e96e97fd42cd71e7096ab7eb9eac7a9c8b32.tar.bz2 |
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
-rw-r--r-- | lib/CodeGen/StrongPHIElimination.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/CodeGen/StrongPHIElimination.cpp b/lib/CodeGen/StrongPHIElimination.cpp index a1654de..d023b59 100644 --- a/lib/CodeGen/StrongPHIElimination.cpp +++ b/lib/CodeGen/StrongPHIElimination.cpp @@ -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; } } |