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 FoldUnusedBits canonicalization mishandles signed memory data when it narrows a memory whose used bits occupy only part of its original width. For example, a firrtl.mem has read and write data fields…

The task

The FIRRTL FoldUnusedBits canonicalization mishandles signed memory data when it narrows a memory whose used bits occupy only part of its original width. For example, a `firrtl.mem` has read and write data fields typed `!firrtl.sint<42>`, and every read of the memory data is a `firrtl.bits` operation selecting bits 7…

Part of henryen/OriGent-SFT-Data.