Allow use of simple scheduler after control synthesis code generation

The -simple-scheduler option now imply the use of simple scheduler
both before and after control synthesis code generation.
master
Gwenaël Delaval 6 years ago
parent 7abe92dc0d
commit b51c292231

@ -126,10 +126,14 @@ let compile_program p log_c =
(* Re-scheduling after generation *) (* Re-scheduling after generation *)
let p = let p =
if not !Compiler_options.use_old_scheduler then match !Compiler_options.use_old_scheduler,
!Compiler_options.use_simple_scheduler with
| false, false ->
pass "Scheduling (with minimization of interferences)" ctrl Schedule_interf.program p pp pass "Scheduling (with minimization of interferences)" ctrl Schedule_interf.program p pp
else | true, false ->
pass "Scheduling" ctrl Schedule.program p pp pass "Scheduling" ctrl Schedule.program p pp
| _, true ->
pass "Scheduling (simple)" ctrl Schedule_simple.program p pp
in in
(* Memory allocation *) (* Memory allocation *)

Loading…
Cancel
Save