mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-16 11:24:39 +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:
@@ -1136,6 +1136,11 @@ void ScheduleDAG::dumpSchedule() const {
|
|||||||
///
|
///
|
||||||
MachineBasicBlock *ScheduleDAG::Run() {
|
MachineBasicBlock *ScheduleDAG::Run() {
|
||||||
Schedule();
|
Schedule();
|
||||||
|
|
||||||
|
DOUT << "*** Final schedule ***\n";
|
||||||
|
DEBUG(dumpSchedule());
|
||||||
|
DOUT << "\n";
|
||||||
|
|
||||||
return BB;
|
return BB;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -99,10 +99,6 @@ void ScheduleDAGList::Schedule() {
|
|||||||
ListScheduleTopDown();
|
ListScheduleTopDown();
|
||||||
|
|
||||||
AvailableQueue->releaseState();
|
AvailableQueue->releaseState();
|
||||||
|
|
||||||
DOUT << "*** Final schedule ***\n";
|
|
||||||
DEBUG(dumpSchedule());
|
|
||||||
DOUT << "\n";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
@@ -204,10 +204,6 @@ void ScheduleDAGRRList::Schedule() {
|
|||||||
|
|
||||||
if (!Fast)
|
if (!Fast)
|
||||||
CommuteNodesToReducePressure();
|
CommuteNodesToReducePressure();
|
||||||
|
|
||||||
DOUT << "*** Final schedule ***\n";
|
|
||||||
DEBUG(dumpSchedule());
|
|
||||||
DOUT << "\n";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// CommuteNodesToReducePressure - If a node is two-address and commutable, and
|
/// CommuteNodesToReducePressure - If a node is two-address and commutable, and
|
||||||
|
Reference in New Issue
Block a user