mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 04:38:24 +00:00
Rename BuildSchedUnits to BuildSchedGraph, and refactor the
code in ScheduleDAGSDNodes' BuildSchedGraph into separate functions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61376 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -121,8 +121,8 @@ bool PostRAScheduler::runOnMachineFunction(MachineFunction &Fn) {
|
||||
void SchedulePostRATDList::Schedule() {
|
||||
DOUT << "********** List Scheduling **********\n";
|
||||
|
||||
// Build scheduling units.
|
||||
BuildSchedUnits();
|
||||
// Build the scheduling graph.
|
||||
BuildSchedGraph();
|
||||
|
||||
if (EnableAntiDepBreaking) {
|
||||
if (BreakAntiDependencies()) {
|
||||
@ -133,7 +133,7 @@ void SchedulePostRATDList::Schedule() {
|
||||
// that register, and add new anti-dependence and output-dependence
|
||||
// edges based on the next live range of the register.
|
||||
SUnits.clear();
|
||||
BuildSchedUnits();
|
||||
BuildSchedGraph();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user