[llvm-commits] [llvm] r60525 - /llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp

Dan Gohman gohman at apple.com
Wed Dec 3 18:15:26 PST 2008


Author: djg
Date: Wed Dec  3 20:15:26 2008
New Revision: 60525

URL: http://llvm.org/viewvc/llvm-project?rev=60525&view=rev
Log:
Use register names instead of numbers in debug output.

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

Modified: llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp?rev=60525&r1=60524&r2=60525&view=diff

==============================================================================
--- llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp (original)
+++ llvm/trunk/lib/CodeGen/PostRASchedulerList.cpp Wed Dec  3 20:15:26 2008
@@ -428,9 +428,10 @@
                "Kill and Def maps aren't consistent for NewReg!");
         if (KillIndices[NewReg] == -1u &&
             KillIndices[AntiDepReg] <= DefIndices[NewReg]) {
-          DOUT << "Breaking anti-dependence edge on reg " << AntiDepReg
+          DOUT << "Breaking anti-dependence edge on "
+               << TRI->getName(AntiDepReg)
                << " with " << RegRefs.count(AntiDepReg) << " references"
-               << " with new reg " << NewReg << "!\n";
+               << " using " << TRI->getName(NewReg) << "!\n";
 
           // Update the references to the old register to refer to the new
           // register.





More information about the llvm-commits mailing list