Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). FIRRTL canonicalization currently applies constant and identity folds to bitwise integer primitive operations only when the operand types line up exactly. A valid mixed-width operation is therefore left with…
The task
FIRRTL canonicalization currently applies constant and identity folds to bitwise integer primitive operations only when the operand types line up exactly. A valid mixed-width operation is therefore left with mismatched operand types, which also prevents the module output connection from becoming a strict connection.
Part of henryen/OriGent-SFT-Data.