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 SCF-to-Calyx lowering pass (circt-opt --lower-scf-to-calyx, createSCFToCalyxPass) lowers functions that use structured control flow into Calyx components. It currently handles scf.while, scf.for, and CFG…

The task

The SCF-to-Calyx lowering pass (circt-opt --lower-scf-to-calyx, createSCFToCalyxPass) lowers functions that use structured control flow into Calyx components. It currently handles scf.while, scf.for, and CFG branch operations implementing BranchOpInterface (e.g. cf.cond_br), but it does not support scf.if.

Part of henryen/OriGent-SFT-Data.