mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 22:26:14 +00:00
Factor out debugging code into the common base class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53480 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dbe2a5a269
commit
0f4012f475
@ -1136,6 +1136,11 @@ void ScheduleDAG::dumpSchedule() const {
|
||||
///
|
||||
MachineBasicBlock *ScheduleDAG::Run() {
|
||||
Schedule();
|
||||
|
||||
DOUT << "*** Final schedule ***\n";
|
||||
DEBUG(dumpSchedule());
|
||||
DOUT << "\n";
|
||||
|
||||
return BB;
|
||||
}
|
||||
|
||||
|
@ -99,10 +99,6 @@ void ScheduleDAGList::Schedule() {
|
||||
ListScheduleTopDown();
|
||||
|
||||
AvailableQueue->releaseState();
|
||||
|
||||
DOUT << "*** Final schedule ***\n";
|
||||
DEBUG(dumpSchedule());
|
||||
DOUT << "\n";
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -204,10 +204,6 @@ void ScheduleDAGRRList::Schedule() {
|
||||
|
||||
if (!Fast)
|
||||
CommuteNodesToReducePressure();
|
||||
|
||||
DOUT << "*** Final schedule ***\n";
|
||||
DEBUG(dumpSchedule());
|
||||
DOUT << "\n";
|
||||
}
|
||||
|
||||
/// CommuteNodesToReducePressure - If a node is two-address and commutable, and
|
||||
|
Loading…
Reference in New Issue
Block a user