OSDN Git Service

Use register names instead of numbers in debug output.
authorDan Gohman <gohman@apple.com>
Thu, 4 Dec 2008 02:15:26 +0000 (02:15 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 4 Dec 2008 02:15:26 +0000 (02:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60525 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/PostRASchedulerList.cpp

index a035c18..ec56fea 100644 (file)
@@ -428,9 +428,10 @@ bool SchedulePostRATDList::BreakAntiDependencies() {
                "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.