Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The circt-opt --hw-eliminate-inout-ports pass, which raises usages of !hw.inout module ports into explicit input and output ports, crashes when it converts a module in which an inout port is only written and…
The task
The `circt-opt` `--hw-eliminate-inout-ports` pass, which raises usages of `!hw.inout` module ports into explicit input and output ports, crashes when it converts a module in which an inout port is only written and the assigned value is a regular input port of the same module.
Part of henryen/OriGent-SFT-Data.