aboutsummaryrefslogtreecommitdiffstats
path: root/kvx/PostpassSchedulingOracle.ml
diff options
context:
space:
mode:
Diffstat (limited to 'kvx/PostpassSchedulingOracle.ml')
-rw-r--r--kvx/PostpassSchedulingOracle.ml10
1 files changed, 1 insertions, 9 deletions
diff --git a/kvx/PostpassSchedulingOracle.ml b/kvx/PostpassSchedulingOracle.ml
index 2326f97e..2107ce22 100644
--- a/kvx/PostpassSchedulingOracle.ml
+++ b/kvx/PostpassSchedulingOracle.ml
@@ -921,15 +921,7 @@ let print_schedule sched =
let do_schedule bb =
let problem = build_problem bb in
(if debug then print_problem stdout problem);
- let solution = (match !Clflags.option_fpostpass_sched with
- | "ilp" ->
- validated_scheduler cascaded_scheduler
- | "list" ->
- validated_scheduler list_scheduler
- | "revlist" ->
- validated_scheduler reverse_list_scheduler
- | "greedy" -> greedy_scheduler
- | other -> failwith ("Invalid scheduler:" ^ other)) problem
+ let solution = scheduler_by_name (!Clflags.option_fpostpass_sched) problem
in match solution with
| None -> failwith "Could not find a valid schedule"
| Some sol ->