summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-01-12 22:28:48 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-01-12 22:28:48 +0000
commit71a3853332ecbd7ff9b7a70faa30c0889604bdf6 (patch)
treeb22bfb1aa0d3618a5a13d55a0e477f9617f40c79 /llvm/lib/CodeGen
parentbe7b54889f06ba803f87f9bbb5d4f9ab82559544 (diff)
downloadbcm5719-llvm-71a3853332ecbd7ff9b7a70faa30c0889604bdf6.tar.gz
bcm5719-llvm-71a3853332ecbd7ff9b7a70faa30c0889604bdf6.zip
Annotate VirtRegRewriter debug output with slot indexes.
llvm-svn: 123333
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/VirtRegRewriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/VirtRegRewriter.cpp b/llvm/lib/CodeGen/VirtRegRewriter.cpp
index 87781067ef8..6ff6ae2e05b 100644
--- a/llvm/lib/CodeGen/VirtRegRewriter.cpp
+++ b/llvm/lib/CodeGen/VirtRegRewriter.cpp
@@ -1133,7 +1133,7 @@ bool LocalRewriter::runOnMachineFunction(MachineFunction &MF, VirtRegMap &vrm,
<< MF.getFunction()->getName() << "':\n");
DEBUG(dbgs() << "**** Machine Instrs (NOTE! Does not include spills and"
" reloads!) ****\n");
- DEBUG(MF.dump());
+ DEBUG(MF.print(dbgs(), LIs->getSlotIndexes()));
// Spills - Keep track of which spilled values are available in physregs
// so that we can choose to reuse the physregs instead of emitting
@@ -1184,7 +1184,7 @@ bool LocalRewriter::runOnMachineFunction(MachineFunction &MF, VirtRegMap &vrm,
}
DEBUG(dbgs() << "**** Post Machine Instrs ****\n");
- DEBUG(MF.dump());
+ DEBUG(MF.print(dbgs(), LIs->getSlotIndexes()));
// Mark unused spill slots.
MachineFrameInfo *MFI = MF.getFrameInfo();
OpenPOWER on IntegriCloud