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.
This commit is contained in:
parent
7abe92dc0d
commit
b51c292231
1 changed files with 6 additions and 2 deletions
|
@ -126,10 +126,14 @@ let compile_program p log_c =
|
|||
|
||||
(* Re-scheduling after generation *)
|
||||
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
|
||||
else
|
||||
| true, false ->
|
||||
pass "Scheduling" ctrl Schedule.program p pp
|
||||
| _, true ->
|
||||
pass "Scheduling (simple)" ctrl Schedule_simple.program p pp
|
||||
in
|
||||
|
||||
(* Memory allocation *)
|
||||
|
|
Loading…
Reference in a new issue