Skip to content
  • Andrew Trick's avatar
    misched: implemented a framework for top-down or bottom-up scheduling. · 8823decd
    Andrew Trick authored
    New flags: -misched-topdown, -misched-bottomup. They can be used with
    the default scheduler or with -misched=shuffle. Without either
    topdown/bottomup flag -misched=shuffle now alternates scheduling
    direction.
    
    LiveIntervals update is unimplemented with bottom-up scheduling, so
    only -misched-topdown currently works.
    
    Capped the ScheduleDAG hierarchy with a concrete ScheduleDAGMI class.
    ScheduleDAGMI is aware of the top and bottom of the unscheduled zone
    within the current region. Scheduling policy can be plugged into
    the ScheduleDAGMI driver by implementing MachineSchedStrategy.
    ConvergingScheduler is now the default scheduling algorithm.
    It exercises the new driver but still does no reordering.
    
    llvm-svn: 152700
    8823decd
Loading