summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-05-10 21:06:21 +0000
committerAndrew Trick <atrick@apple.com>2012-05-10 21:06:21 +0000
commit89c324bf11b611a322b71ed81846a5c81fb5d01f (patch)
treed00219112dd73461f2f9b5f8bffd5745778e6b9c /lib/CodeGen/MachineScheduler.cpp
parent28ebc89c413c042bf693d9ad6971f0fb5cca2f0f (diff)
downloadllvm-89c324bf11b611a322b71ed81846a5c81fb5d01f.tar.gz
llvm-89c324bf11b611a322b71ed81846a5c81fb5d01f.tar.bz2
llvm-89c324bf11b611a322b71ed81846a5c81fb5d01f.tar.xz
misched: Print machineinstrs with -debug-only=misched
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156576 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineScheduler.cpp')
-rw-r--r--lib/CodeGen/MachineScheduler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/MachineScheduler.cpp b/lib/CodeGen/MachineScheduler.cpp
index 650fa5da88..7a099cdade 100644
--- a/lib/CodeGen/MachineScheduler.cpp
+++ b/lib/CodeGen/MachineScheduler.cpp
@@ -173,6 +173,8 @@ nextIfDebug(MachineBasicBlock::iterator I, MachineBasicBlock::iterator End) {
/// design would be to split blocks at scheduling boundaries, but LLVM has a
/// general bias against block splitting purely for implementation simplicity.
bool MachineScheduler::runOnMachineFunction(MachineFunction &mf) {
+ DEBUG(dbgs() << "Before MISsched:\n"; mf.print(dbgs()));
+
// Initialize the context of the pass.
MF = &mf;
MLI = &getAnalysis<MachineLoopInfo>();