diff options
author | Claire Wolf <clifford@clifford.at> | 2020-01-29 15:27:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-29 15:27:11 +0100 |
commit | 4d0118d0c12d1f0f1604714ca10a49644a8ebee5 (patch) | |
tree | 6b9103814881b8312f0767a59c2d0b1c3acacd3c /passes/opt | |
parent | bc325468e70b4c7a945d8829641f573f3aea5358 (diff) | |
parent | 6fd9cae5ca5c7b154371f5cd328a7d96ef00f259 (diff) | |
download | yosys-4d0118d0c12d1f0f1604714ca10a49644a8ebee5.tar.gz yosys-4d0118d0c12d1f0f1604714ca10a49644a8ebee5.tar.bz2 yosys-4d0118d0c12d1f0f1604714ca10a49644a8ebee5.zip |
Merge pull request #1662 from YosysHQ/dave/opt-reduce-move-check
opt_reduce: Call check() per run rather than per optimised cell
Diffstat (limited to 'passes/opt')
-rw-r--r-- | passes/opt/opt_reduce.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/passes/opt/opt_reduce.cc b/passes/opt/opt_reduce.cc index 6a8d8cabd..09f6e12e9 100644 --- a/passes/opt/opt_reduce.cc +++ b/passes/opt/opt_reduce.cc @@ -235,7 +235,6 @@ struct OptReduceWorker log(" New connections: %s = %s\n", log_signal(old_sig_conn.first), log_signal(old_sig_conn.second)); module->connect(old_sig_conn); - module->check(); did_something = true; total_count++; @@ -324,6 +323,8 @@ struct OptReduceWorker opt_mux(cell); } } + + module->check(); } }; |