aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-05-14 05:34:15 +0000
committerChris Lattner <sabre@nondot.org>2005-05-14 05:34:15 +0000
commit38135af219c48a8626d6af34a92e7e8bb957c81f (patch)
tree3abc90b90f8cb8654fcb59ab57ec12745fb38f79 /lib/CodeGen/LiveIntervalAnalysis.cpp
parenta88a260dbd874a3bdd3e47f4f15ab0d7c7803044 (diff)
downloadexternal_llvm-38135af219c48a8626d6af34a92e7e8bb957c81f.zip
external_llvm-38135af219c48a8626d6af34a92e7e8bb957c81f.tar.gz
external_llvm-38135af219c48a8626d6af34a92e7e8bb957c81f.tar.bz2
Print the symbolic register name in a register allocator debug dump.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22002 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp
index d75bf3f..9f0bce8 100644
--- a/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -142,11 +142,11 @@ bool LiveIntervals::runOnMachineFunction(MachineFunction &fn) {
numIntervals += getNumIntervals();
-#if 1
- DEBUG(std::cerr << "********** INTERVALS **********\n");
- DEBUG(for (iterator I = begin(), E = end(); I != E; ++I)
- std::cerr << I->second << "\n");
-#endif
+ DEBUG(std::cerr << "********** INTERVALS **********\n";
+ for (iterator I = begin(), E = end(); I != E; ++I) {
+ I->second.print(std::cerr, mri_);
+ std::cerr << "\n";
+ });
// join intervals if requested
if (EnableJoining) joinIntervals();