aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-12-04 02:15:26 +0000
committerDan Gohman <gohman@apple.com>2008-12-04 02:15:26 +0000
commit80e201b8db86a88249b89527a2c7f098237925d3 (patch)
tree642335e4afdd95c68ba2fed84531a407ac8f2cff
parentb29ffc88701fc373c832ea2e7142ad6f72eef050 (diff)
Use register names instead of numbers in debug output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60525 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/PostRASchedulerList.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/PostRASchedulerList.cpp b/lib/CodeGen/PostRASchedulerList.cpp
index a035c180f8..ec56feaff9 100644
--- a/lib/CodeGen/PostRASchedulerList.cpp
+++ b/lib/CodeGen/PostRASchedulerList.cpp
@@ -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.