Revert r140097, working on a better approach
[oota-llvm.git] / lib / CodeGen / PHIElimination.cpp
index af65f13bf065eb202152145480a6bf8db7480724..6994aa58fbd5459099b3e5e5946e906eb3f79071 100644 (file)
@@ -109,6 +109,9 @@ bool PHIElimination::runOnMachineFunction(MachineFunction &MF) {
 
   bool Changed = false;
 
+  // This pass takes the function out of SSA form.
+  MRI->leaveSSA();
+
   // Split critical edges to help the coalescer
   if (!DisableEdgeSplitting) {
     if (LiveVariables *LV = getAnalysisIfAvailable<LiveVariables>()) {