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 allows integer types of width zero ( !firrtl.uint<0 , !firrtl.sint<0 ), and such values occur in real designs, for example registers and wires whose inferred width is zero. However, the…
The task
The FIRRTL dialect allows integer types of width zero (`!firrtl.uint<0>`, `!firrtl.sint<0>`), and such values occur in real designs, for example registers and wires whose inferred width is zero. However, the constant folding and canonicalization logic for FIRRTL primitive operations still treats a known width of zero…
Part of henryen/OriGent-SFT-Data.