forked from OSchip/llvm-project
misched: Print machineinstrs with -debug-only=misched
llvm-svn: 156576
This commit is contained in:
parent
419eae2db7
commit
c5d7008f27
|
@ -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>();
|
||||||
|
|
Loading…
Reference in New Issue