summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-21 23:03:54 +0000
committerChris Lattner <sabre@nondot.org>2006-08-21 23:03:54 +0000
commit1d77a0ff884b976e9ceecfb5bdcaec3a08586311 (patch)
tree501723eae2999b863de5a694fc6647a9c7b1febd /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parent98a13857646354173f1be59811cdf6b8136105c3 (diff)
downloadbcm5719-llvm-1d77a0ff884b976e9ceecfb5bdcaec3a08586311.tar.gz
bcm5719-llvm-1d77a0ff884b976e9ceecfb5bdcaec3a08586311.zip
Print physreg names symbolically in dumps
llvm-svn: 29805
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index f1f608d2713..e5128558e34 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -735,8 +735,9 @@ void LiveIntervals::joinIntervalsInMachineBB(MachineBasicBlock *MBB) {
assert(SrcInt.reg == SrcReg && DestInt.reg == DestReg &&
"Register mapping is horribly broken!");
- DEBUG(std::cerr << "\t\tInspecting " << SrcInt << " and " << DestInt
- << ": ");
+ DEBUG(std::cerr << "\t\tInspecting "; SrcInt.print(std::cerr, mri_);
+ std::cerr << " and "; DestInt.print(std::cerr, mri_);
+ std::cerr << ": ");
// If two intervals contain a single value and are joined by a copy, it
// does not matter if the intervals overlap, they can always be joined.
OpenPOWER on IntegriCloud