diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-25 03:24:11 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-25 03:24:11 +0000 |
commit | c83e40d1b6582155286f1044623d544dea20202e (patch) | |
tree | 75feefab5d915a5c605f7f177105b3a0f1151dbd /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 3f86193cd2153595f0e32d8a8d8a0e7d4ec97faf (diff) |
Add debugging output for joining assignments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15187 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index c21a9c0540..d54eaefb66 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -616,6 +616,11 @@ void LiveIntervals::joinIntervals() { for (unsigned i = 0, e = MBBs.size(); i != e; ++i) joinIntervalsInMachineBB(MBBs[i].second); } + + DEBUG(std::cerr << "*** Register mapping ***\n"); + DEBUG(for (std::map<unsigned, unsigned>::iterator I = r2rMap_.begin(), + E = r2rMap_.end(); I != E; ++I) + std::cerr << " reg " << I->first << " -> reg " << I->second << "\n";); } /// Return true if the two specified registers belong to different register |