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 canonicalizer incorrectly folds firrtl.or when both operands are the same value but their type differs from the operation's result type. For example, a signed 4-bit input used for both operands of an…

The task

The FIRRTL canonicalizer incorrectly folds `firrtl.or` when both operands are the same value but their type differs from the operation's result type. For example, a signed 4-bit input used for both operands of an `or` whose result is unsigned 4-bit is replaced by that signed input during canonicalization. This…

Part of henryen/OriGent-SFT-Data.