[llvm-commits] [llvm] r44064 - /llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Owen Anderson
resistor at mac.com
Tue Nov 13 12:13:25 PST 2007
Author: resistor
Date: Tue Nov 13 14:13:24 2007
New Revision: 44064
URL: http://llvm.org/viewvc/llvm-project?rev=44064&view=rev
Log:
Run computeDomForest() on the set of registers that need to be tested for
interference.
Modified:
llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp?rev=44064&r1=44063&r2=44064&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp (original)
+++ llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp Tue Nov 13 14:13:24 2007
@@ -285,14 +285,15 @@
} 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;
}
}
More information about the llvm-commits
mailing list