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 dialect in CIRCT is missing constant folding for the binary arithmetic primitive operations add , sub , and mul . When both operands of one of these operations are literal firrtl.constant integers…

The task

The FIRRTL dialect in CIRCT is missing constant folding for the binary arithmetic primitive operations `add`, `sub`, and `mul`. When both operands of one of these operations are literal `firrtl.constant` integers, the canonicalizer leaves the operation untouched instead of replacing it with the computed constant.…

Part of henryen/OriGent-SFT-Data.