From 706872237f4e2fcd3ca50bfdf4ae3e48117683e9 Mon Sep 17 00:00:00 2001 From: Akash Levy Date: Sun, 9 Mar 2025 22:08:00 -0700 Subject: [PATCH] Only muxpack to pmux for size 3 or bigger (size 2 is just a mux) --- passes/opt/muxpack.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passes/opt/muxpack.cc b/passes/opt/muxpack.cc index fe60d5404..b243f594f 100644 --- a/passes/opt/muxpack.cc +++ b/passes/opt/muxpack.cc @@ -246,7 +246,7 @@ struct MuxpackWorker void process_chain(vector &chain, bool make_excl) { - if (GetSize(chain) < 2) + if (GetSize(chain) < 3) return; int cursor = 0;