Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The FIRRTL cvt primitive ("convert to signed") is defined as follows: applied to a SInt<w operand it returns the operand unchanged; applied to a UInt<w operand it prepends a single zero bit and returns a…
The task
The FIRRTL `cvt` primitive ("convert to signed") is defined as follows: applied to a `SInt<w>` operand it returns the operand unchanged; applied to a `UInt<w>` operand it prepends a single zero bit and returns a `SInt<w+1>`. The FIRRTL dialect's canonicalization (the canonicalize pass run by `firtool`, also available…
Part of henryen/OriGent-SFT-Data.