From d67989f9ad3f45da2a18b3706fdc04460f726a14 Mon Sep 17 00:00:00 2001 From: "N. Engelhardt" Date: Fri, 11 Nov 2022 14:53:32 +0100 Subject: [PATCH] update opt_muxtree iteration limit --- passes/opt/opt_muxtree.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/passes/opt/opt_muxtree.cc b/passes/opt/opt_muxtree.cc index 867fab9a3..6c3a5ec69 100644 --- a/passes/opt/opt_muxtree.cc +++ b/passes/opt/opt_muxtree.cc @@ -149,7 +149,7 @@ struct OptMuxtreeWorker // Limit the number of iterations based on the number of muxes. // The multiplier (1000) is arbitrary. - glob_abort_cnt = GetSize(mux2info) * 1000; + glob_abort_cnt = max(100000, GetSize(mux2info) * 100); // Populate mux2info[].ports[]: // .input_muxes