summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
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
commit44f57df2544f1294df9a197368fba9d833504add (patch)
tree6ed3575ef93541be4cbf9d739015f70bd02d2a8a /llvm/lib/CodeGen
parent30cad9c192c9bc58c4390bc4aedcb00ba27c8414 (diff)
downloadbcm5719-llvm-44f57df2544f1294df9a197368fba9d833504add.tar.gz
bcm5719-llvm-44f57df2544f1294df9a197368fba9d833504add.zip
Use register names instead of numbers in debug output.
llvm-svn: 60525
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/PostRASchedulerList.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/PostRASchedulerList.cpp b/llvm/lib/CodeGen/PostRASchedulerList.cpp
index a035c180f8f..ec56feaff96 100644
--- a/llvm/lib/CodeGen/PostRASchedulerList.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud