Remove verification after PHIElimination when using LiveIntervals, and move it
authorCameron Zwarich <zwarich@apple.com>
Wed, 20 Feb 2013 06:46:34 +0000 (06:46 +0000)
committerCameron Zwarich <zwarich@apple.com>
Wed, 20 Feb 2013 06:46:34 +0000 (06:46 +0000)
after the two-address pass. The remaining problems in 'make check' are occurring
later.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175598 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/PHIElimination.cpp
lib/CodeGen/TwoAddressInstructionPass.cpp

index 061c385765c8853458696302c75783b93ad73ad7..61122fcbc1ee8f5c72f099b9ad8c1b2092a95c19 100644 (file)
@@ -172,9 +172,6 @@ bool PHIElimination::runOnMachineFunction(MachineFunction &MF) {
   ImpDefs.clear();
   VRegPHIUseCount.clear();
 
-  if (LIS)
-    MF.verify(this, "After PHI elimination");
-
   return Changed;
 }
 
index 8e6f809747710ccf2c0671c8e652a42dfc4bf359..f5d41c786af02910d120fcec1da3fc46b4d7a60d 100644 (file)
@@ -1437,6 +1437,9 @@ bool TwoAddressInstructionPass::runOnMachineFunction(MachineFunction &Func) {
     }
   }
 
+  if (LIS)
+    MF->verify(this, "After two-address instruction pass");
+
   return MadeChange;
 }