Repair a verified behavior in yosyshq/yosys.
Repair a verified behavior in yosyshq/yosys.: a task in OriGent-RL-Data (Harbor dataset). The opt reduce pass currently applies fine-grained multiplexer simplification only to $mux and $pmux cells. As a result, selected $bmux and $demux cells are left unchanged even when their selectors contain…
The task
The `opt_reduce` pass currently applies fine-grained multiplexer simplification only to `$mux` and `$pmux` cells. As a result, selected `$bmux` and `$demux` cells are left unchanged even when their selectors contain duplicate or constant bits.
Part of henryen/OriGent-RL-Data.