Add a print and verify pass after the RegisterCoalescer
authorMatthias Braun <matze@braunis.de>
Wed, 19 Nov 2014 19:46:15 +0000 (19:46 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 19 Nov 2014 19:46:15 +0000 (19:46 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222381 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/Passes.cpp

index 644cc97efcc11ad0c0e226497be2b9f9db22538d..ec71d86d09fa637bcbaf5349b3dceb558183e44b 100644 (file)
@@ -732,6 +732,7 @@ void TargetPassConfig::addOptimizedRegAlloc(FunctionPass *RegAllocPass) {
 
   addPass(&TwoAddressInstructionPassID);
   addPass(&RegisterCoalescerID);
+  printAndVerify("After Register Coalescing");
 
   // PreRA instruction scheduling.
   if (addPass(&MachineSchedulerID))