HF RL Explorer

Repair a verified behavior in yosyshq/yosys.

Repair a verified behavior in yosyshq/yosys.: a task in OriGent-RL-Data (Harbor dataset). The peepopt shiftmul optimization recognizes a shift whose amount is a variable multiplied by a nonzero constant. This is important for indexed part-selects such as array i 33+:33 : when the selected width is…

The task

The `peepopt` shiftmul optimization recognizes a shift whose amount is a variable multiplied by a nonzero constant. This is important for indexed part-selects such as `array[i*33+:33]`: when the selected width is not a power of two, preserving the multiplication as part of a generic variable shift can require…

Part of henryen/OriGent-RL-Data.