HF RL Explorer

Repair a verified behavior in llvm/circt.

Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The FIRRTL mux canonicalization only handles one orientation of a mux between the constants 0 and 1. A mux that yields 1 when its condition is true and 0 when it is false ( mux(cond, 1, 0) ) is already…

The task

The FIRRTL mux canonicalization only handles one orientation of a mux between the constants 0 and 1. A mux that yields 1 when its condition is true and 0 when it is false (`mux(cond, 1, 0)`) is already simplified to the condition itself, but the inverted form — a mux that yields 0 when its condition is true and 1…

Part of henryen/OriGent-SFT-Data.