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). For a valid FIRRTL dynamic shift-left primitive dshl with an integer left operand and an unsigned integer right operand, the result width is width(lhs) + (1 << width(rhs)) - 1 when both operand widths are…

The task

For a valid FIRRTL dynamic shift-left primitive `dshl` with an integer left operand and an unsigned integer right operand, the result width is `width(lhs) + (1 << width(rhs)) - 1` when both operand widths are known. firtool currently evaluates this rule using a width representation that overflows. For example, a…

Part of henryen/OriGent-SFT-Data.