aboutsummaryrefslogtreecommitdiff
path: root/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
commit8222b2de224647e4ca8ac36adff87b2c93daf7cc (patch)
tree86a58e5a2616484ad934a2bb5b24ff938d1d8e77 /lib/CodeGen/LiveIntervalAnalysis.cpp
parent5682aff81906c28a4c603b6e874a0ec4095f2f5e (diff)
Print physreg names symbolically in dumps
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29805 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index f1f608d271..e5128558e3 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/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.