summaryrefslogtreecommitdiff
path: root/sched/simplify.ml
diff options
context:
space:
mode:
Diffstat (limited to 'sched/simplify.ml')
-rw-r--r--sched/simplify.ml5
1 files changed, 3 insertions, 2 deletions
diff --git a/sched/simplify.ml b/sched/simplify.ml
index 86c4790..ef2f0dc 100644
--- a/sched/simplify.ml
+++ b/sched/simplify.ml
@@ -328,9 +328,8 @@ let topo_sort p =
let rec simplify_with steps p =
let pp, use = List.fold_left
(fun (x, u) (f, n) ->
- print_string n;
let xx, uu = f x in
- print_string (if uu then " *\n" else "\n");
+ print_endline (if uu then n ^ " *" else n);
(xx, u || uu))
(p, false) steps in
if use then simplify_with steps pp else pp
@@ -338,6 +337,8 @@ let rec simplify_with steps p =
let simplify p =
let p = simplify_with [
topo_sort, "topo_sort";
+ ] p in
+ let p = simplify_with [
cascade_slices, "cascade_slices";
pass_concat, "pass_concat";
select_to_id, "select_to_id";