[llvm] r175598 - Remove verification after PHIElimination when using LiveIntervals, and move it

Cameron Zwarich zwarich at apple.com
Tue Feb 19 22:46:34 PST 2013


Author: zwarich
Date: Wed Feb 20 00:46:34 2013
New Revision: 175598

URL: http://llvm.org/viewvc/llvm-project?rev=175598&view=rev
Log:
Remove verification after PHIElimination when using LiveIntervals, and move it
after the two-address pass. The remaining problems in 'make check' are occurring
later.

Modified:
    llvm/trunk/lib/CodeGen/PHIElimination.cpp
    llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp

Modified: llvm/trunk/lib/CodeGen/PHIElimination.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PHIElimination.cpp?rev=175598&r1=175597&r2=175598&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/PHIElimination.cpp (original)
+++ llvm/trunk/lib/CodeGen/PHIElimination.cpp Wed Feb 20 00:46:34 2013
@@ -172,9 +172,6 @@ bool PHIElimination::runOnMachineFunctio
   ImpDefs.clear();
   VRegPHIUseCount.clear();
 
-  if (LIS)
-    MF.verify(this, "After PHI elimination");
-
   return Changed;
 }
 

Modified: llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp?rev=175598&r1=175597&r2=175598&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp (original)
+++ llvm/trunk/lib/CodeGen/TwoAddressInstructionPass.cpp Wed Feb 20 00:46:34 2013
@@ -1437,6 +1437,9 @@ bool TwoAddressInstructionPass::runOnMac
     }
   }
 
+  if (LIS)
+    MF->verify(this, "After two-address instruction pass");
+
   return MadeChange;
 }
 





More information about the llvm-commits mailing list