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 lower-scf-to-calyx pass rejects a direct function call in the selected top-level function. If a module contains func.func @func(%arg0: i32) - i32 and a top-level func.func @main that calls @func with an i32…

The task

The `lower-scf-to-calyx` pass rejects a direct function call in the selected top-level function. If a module contains `func.func @func(%arg0: i32) -> i32` and a top-level `func.func @main` that calls `@func` with an `i32` value, selecting `main` with the pass's `top-level-function` option causes conversion to fail…

Part of henryen/OriGent-SFT-Data.