Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The FIRRTL dialect folds and canonicalizes firrtl.mux operations without checking whether the mux result has a known width. Folding a mux with an unknown result width to one of its operands can invalidate the…
The task
The FIRRTL dialect folds and canonicalizes `firrtl.mux` operations without checking whether the mux result has a known width. Folding a mux with an unknown result width to one of its operands can invalidate the subsequent IR: for example, picking an unsized constant operand allows that constant to later resolve to a…
Part of henryen/OriGent-SFT-Data.