From a945edc7a04ca008ae1d23c18c1718b3cbe25f1c Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Wed, 21 Aug 2024 20:26:29 -0700 Subject: [PATCH] Smallfix --- passes/opt/muxpack.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/passes/opt/muxpack.cc b/passes/opt/muxpack.cc index 38a109618..9303c73e7 100644 --- a/passes/opt/muxpack.cc +++ b/passes/opt/muxpack.cc @@ -172,7 +172,8 @@ struct MuxpackWorker } else { sig_chain_next[a_sig] = cell; - sig_chain_next[b_sig] = cell; + if (!b_sig.empty()) + sig_chain_next[b_sig] = cell; candidate_cells.insert(cell); }