[PATCH] D11538: Move the Target way of overriding DAG Scheduler to a target hook

Mehdi AMINI mehdi.amini at apple.com
Mon Jul 27 15:49:15 PDT 2015


joker.eph added a comment.

It seems that the DAGLinearizer can't be selected by the get/setSchedulingPreference (see ScheduleDAGSDNodes* createDefaultScheduler).

Like if there are two levels:

1. getDefault was used to select the method to create the scheduler
2. if the default was not changed (createDefaultScheduler), then a combination of OptLevel, enableMachineScheduler(), and getSchedulingPreference() are used to select one among SourceListDAGScheduler, BURRListDAGScheduler, HybridListDAGScheduler, VLIWDAGScheduler, and ILPListDAGScheduler.


http://reviews.llvm.org/D11538







More information about the llvm-commits mailing list