misched: Print machineinstrs with -debug-only=misched

llvm-svn: 156576
This commit is contained in:
Andrew Trick 2012-05-10 21:06:21 +00:00
parent 419eae2db7
commit c5d7008f27
1 changed files with 2 additions and 0 deletions

View File

@ -173,6 +173,8 @@ nextIfDebug(MachineBasicBlock::iterator I, MachineBasicBlock::iterator End) {
/// design would be to split blocks at scheduling boundaries, but LLVM has a /// design would be to split blocks at scheduling boundaries, but LLVM has a
/// general bias against block splitting purely for implementation simplicity. /// general bias against block splitting purely for implementation simplicity.
bool MachineScheduler::runOnMachineFunction(MachineFunction &mf) { bool MachineScheduler::runOnMachineFunction(MachineFunction &mf) {
DEBUG(dbgs() << "Before MISsched:\n"; mf.print(dbgs()));
// Initialize the context of the pass. // Initialize the context of the pass.
MF = &mf; MF = &mf;
MLI = &getAnalysis<MachineLoopInfo>(); MLI = &getAnalysis<MachineLoopInfo>();