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 module-port-pruner reduction in circt-reduce removes a module port too aggressively when the module is instantiated elsewhere. For an instantiated firrtl.module , it currently treats a port as dead…

The task

The FIRRTL `module-port-pruner` reduction in `circt-reduce` removes a module port too aggressively when the module is instantiated elsewhere. For an instantiated `firrtl.module`, it currently treats a port as dead once the corresponding instance result is unused, without also checking whether the port argument is…

Part of henryen/OriGent-SFT-Data.