[llvm] r222381 - Add a print and verify pass after the RegisterCoalescer

Matthias Braun matze at braunis.de
Wed Nov 19 11:46:16 PST 2014


Author: matze
Date: Wed Nov 19 13:46:15 2014
New Revision: 222381

URL: http://llvm.org/viewvc/llvm-project?rev=222381&view=rev
Log:
Add a print and verify pass after the RegisterCoalescer

Modified:
    llvm/trunk/lib/CodeGen/Passes.cpp

Modified: llvm/trunk/lib/CodeGen/Passes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/Passes.cpp?rev=222381&r1=222380&r2=222381&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/Passes.cpp (original)
+++ llvm/trunk/lib/CodeGen/Passes.cpp Wed Nov 19 13:46:15 2014
@@ -732,6 +732,7 @@ void TargetPassConfig::addOptimizedRegAl
 
   addPass(&TwoAddressInstructionPassID);
   addPass(&RegisterCoalescerID);
+  printAndVerify("After Register Coalescing");
 
   // PreRA instruction scheduling.
   if (addPass(&MachineSchedulerID))





More information about the llvm-commits mailing list