From: Andrew Trick Date: Thu, 10 May 2012 21:06:21 +0000 (+0000) Subject: misched: Print machineinstrs with -debug-only=misched X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=89c324bf11b611a322b71ed81846a5c81fb5d01f;p=oota-llvm.git misched: Print machineinstrs with -debug-only=misched git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156576 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/MachineScheduler.cpp b/lib/CodeGen/MachineScheduler.cpp index 650fa5da88e..7a099cdadef 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();