diff options
author | Andrew Trick <atrick@apple.com> | 2012-05-10 21:06:21 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-05-10 21:06:21 +0000 |
commit | c5d7008f2713e9034db5131ecb006d7ef88c9e3a (patch) | |
tree | 507e28369c7b9d258861db5cafb0be6912249ede | |
parent | 419eae2db7741b9186327fe3d2d8a7f6eef13c3a (diff) | |
download | bcm5719-llvm-c5d7008f2713e9034db5131ecb006d7ef88c9e3a.tar.gz bcm5719-llvm-c5d7008f2713e9034db5131ecb006d7ef88c9e3a.zip |
misched: Print machineinstrs with -debug-only=misched
llvm-svn: 156576
-rw-r--r-- | llvm/lib/CodeGen/MachineScheduler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp index 650fa5da88e..7a099cdadef 100644 --- a/llvm/lib/CodeGen/MachineScheduler.cpp +++ b/llvm/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>(); |