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); }