Add check before flatten in synth.

This commit is contained in:
nella 2026-05-04 18:58:56 +02:00 committed by nella
parent 239e3c2849
commit 16b893bd88
1 changed files with 1 additions and 0 deletions

View File

@ -277,6 +277,7 @@ struct SynthPass : public ScriptPass {
if (check_label("coarse")) {
run("proc");
run("check");
if (flatten || help_mode)
run("flatten", " (if -flatten)");
run("opt_expr");