mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 13:10:42 +00:00
The BFS scheduler is apparently nondeterminstic (causes many llvmgcc bootstrap
miscompares). Switch RISC targets to use the list-td scheduler, which isn't. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27933 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
62af9e6cfc
commit
4a1cd9c61e
@ -3126,9 +3126,12 @@ void SelectionDAGISel::ScheduleAndEmitDAG(SelectionDAG &DAG) {
|
||||
default: assert(0 && "Unrecognized scheduling heuristic");
|
||||
case defaultScheduling:
|
||||
if (TLI.getSchedulingPreference() == TargetLowering::SchedulingForLatency)
|
||||
SL = createSimpleDAGScheduler(noScheduling, DAG, BB);
|
||||
else /* TargetLowering::SchedulingForRegPressure */
|
||||
SL = createTDListDAGScheduler(DAG, BB, CreateTargetHazardRecognizer());
|
||||
else {
|
||||
assert(TLI.getSchedulingPreference() ==
|
||||
TargetLowering::SchedulingForRegPressure && "Unknown sched type!");
|
||||
SL = createBURRListDAGScheduler(DAG, BB);
|
||||
}
|
||||
break;
|
||||
case noScheduling:
|
||||
SL = createBFS_DAGScheduler(DAG, BB);
|
||||
|
Loading…
Reference in New Issue
Block a user