diff options
author | David Greene <greened@obbligato.org> | 2007-09-06 16:36:39 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2007-09-06 16:36:39 +0000 |
commit | 04fa32f9aa19bae12e7fd5b5564cebc345de3c58 (patch) | |
tree | 6fc1cd9ac9c0ab3844264105a14eb3e48f8d3007 /lib/CodeGen/VirtRegMap.cpp | |
parent | 2c17c4d8d9f232f0329786ad9abee976bc0f3d27 (diff) |
Add instruction dump output. This helps find bugs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41744 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/VirtRegMap.cpp')
-rw-r--r-- | lib/CodeGen/VirtRegMap.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CodeGen/VirtRegMap.cpp b/lib/CodeGen/VirtRegMap.cpp index 03a5cfde5b..307a8e2961 100644 --- a/lib/CodeGen/VirtRegMap.cpp +++ b/lib/CodeGen/VirtRegMap.cpp @@ -250,10 +250,16 @@ namespace { TII = MF.getTarget().getInstrInfo(); DOUT << "\n**** Local spiller rewriting function '" << MF.getFunction()->getName() << "':\n"; + DOUT << "**** Machine Instrs (NOTE! Does not include spills and reloads!) ****\n"; + DEBUG(MF.dump()); for (MachineFunction::iterator MBB = MF.begin(), E = MF.end(); MBB != E; ++MBB) RewriteMBB(*MBB, VRM); + + DOUT << "**** Post Machine Instrs ****\n"; + DEBUG(MF.dump()); + return true; } private: |