summaryrefslogtreecommitdiff
path: root/lib/CodeGen/ScheduleDAG.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-03-07 05:21:40 +0000
committerAndrew Trick <atrick@apple.com>2012-03-07 05:21:40 +0000
commit73ba69b6843f7f23345b1e8745cb328952cae0d8 (patch)
tree5064cee67f2b8cd8e8b57fbf509db240eb1db9ba /lib/CodeGen/ScheduleDAG.cpp
parent4c727204271067f3dbf50bd23098b2df8e1cc47a (diff)
downloadllvm-73ba69b6843f7f23345b1e8745cb328952cae0d8.tar.gz
llvm-73ba69b6843f7f23345b1e8745cb328952cae0d8.tar.bz2
llvm-73ba69b6843f7f23345b1e8745cb328952cae0d8.tar.xz
misched preparation: modularize schedule printing.
ScheduleDAG will not refer to the scheduled instruction sequence. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152205 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ScheduleDAG.cpp')
-rw-r--r--lib/CodeGen/ScheduleDAG.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/CodeGen/ScheduleDAG.cpp b/lib/CodeGen/ScheduleDAG.cpp
index de8f5199eb..7fae783f8d 100644
--- a/lib/CodeGen/ScheduleDAG.cpp
+++ b/lib/CodeGen/ScheduleDAG.cpp
@@ -52,17 +52,6 @@ const MCInstrDesc *ScheduleDAG::getNodeDesc(const SDNode *Node) const {
return &TII->get(Node->getMachineOpcode());
}
-/// dump - dump the schedule.
-void ScheduleDAG::dumpSchedule() const {
- for (unsigned i = 0, e = Sequence.size(); i != e; i++) {
- if (SUnit *SU = Sequence[i])
- SU->dump(this);
- else
- dbgs() << "**** NOOP ****\n";
- }
-}
-
-
/// Run - perform scheduling.
///
void ScheduleDAG::Run(MachineBasicBlock *bb,
@@ -76,12 +65,6 @@ void ScheduleDAG::Run(MachineBasicBlock *bb,
ExitSU = SUnit();
Schedule();
-
- DEBUG({
- dbgs() << "*** Final schedule ***\n";
- dumpSchedule();
- dbgs() << '\n';
- });
}
/// addPred - This adds the specified edge as a pred of the current node if