summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2013-10-10 21:29:05 +0000
committerMatthias Braun <matze@braunis.de>2013-10-10 21:29:05 +0000
commitf6fe6bfffeefdd569fd3c52b681a11a777c2a738 (patch)
tree6e2bcdb053e19922c8026ff304ca7b8840429db0 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parent34e1be94519594a4afd7bbf7ec11fd86ce0c86de (diff)
downloadbcm5719-llvm-f6fe6bfffeefdd569fd3c52b681a11a777c2a738.tar.gz
bcm5719-llvm-f6fe6bfffeefdd569fd3c52b681a11a777c2a738.zip
Print register in LiveInterval::print()
llvm-svn: 192398
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index 017c1bc39cb..7a3b3051162 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -141,13 +141,13 @@ void LiveIntervals::print(raw_ostream &OS, const Module* ) const {
// Dump the regunits.
for (unsigned i = 0, e = RegUnitRanges.size(); i != e; ++i)
if (LiveRange *LR = RegUnitRanges[i])
- OS << PrintRegUnit(i, TRI) << " = " << *LR << '\n';
+ OS << PrintRegUnit(i, TRI) << ' ' << *LR << '\n';
// Dump the virtregs.
for (unsigned i = 0, e = MRI->getNumVirtRegs(); i != e; ++i) {
unsigned Reg = TargetRegisterInfo::index2VirtReg(i);
if (hasInterval(Reg))
- OS << PrintReg(Reg) << " = " << getInterval(Reg) << '\n';
+ OS << getInterval(Reg) << '\n';
}
OS << "RegMasks:";
OpenPOWER on IntegriCloud