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 Arc dialect's --arc-lower-state pass (run via circt-opt ) unconditionally erases every hw.module.extern operation in its input once state lowering has finished. If an external module is still referenced by…

The task

The Arc dialect's `--arc-lower-state` pass (run via `circt-opt`) unconditionally erases every `hw.module.extern` operation in its input once state lowering has finished. If an external module is still referenced by other operations — for example, an `hw.instance` that instantiates it — deleting the module leaves that…

Part of henryen/OriGent-SFT-Data.