From d319f50d644e6a8a3156c9be6a755ad3498eaa34 Mon Sep 17 00:00:00 2001 From: Lofty Date: Tue, 25 Jun 2024 23:18:57 +0100 Subject: [PATCH] remove sorts from some optimisation passes --- passes/opt/opt.cc | 1 - passes/opt/opt_clean.cc | 1 - techlibs/ice40/ice40_opt.cc | 1 - 3 files changed, 3 deletions(-) diff --git a/passes/opt/opt.cc b/passes/opt/opt.cc index dc88563c236..453dbc12518 100644 --- a/passes/opt/opt.cc +++ b/passes/opt/opt.cc @@ -182,7 +182,6 @@ struct OptPass : public Pass { } design->optimize(); - design->sort(); design->check(); log_header(design, fast_mode ? "Finished fast OPT passes.\n" : "Finished OPT passes. (There is nothing left to do.)\n"); diff --git a/passes/opt/opt_clean.cc b/passes/opt/opt_clean.cc index ba39b9c8086..65542111599 100644 --- a/passes/opt/opt_clean.cc +++ b/passes/opt/opt_clean.cc @@ -745,7 +745,6 @@ struct CleanPass : public Pass { log("Removed %d unused cells and %d unused wires.\n", count_rm_cells, count_rm_wires); design->optimize(); - design->sort(); design->check(); keep_cache.reset(); diff --git a/techlibs/ice40/ice40_opt.cc b/techlibs/ice40/ice40_opt.cc index b13d3301856..cf6c4ec7762 100644 --- a/techlibs/ice40/ice40_opt.cc +++ b/techlibs/ice40/ice40_opt.cc @@ -257,7 +257,6 @@ struct Ice40OptPass : public Pass { } design->optimize(); - design->sort(); design->check(); log_header(design, "Finished OPT passes. (There is nothing left to do.)\n");