Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). Bug in the HW dialect FlattenIO pass ( hw-flatten-io in circt-opt ), which flattens struct-typed module in- and output ports into scalar ports: it crashes for instances of hw.module.extern .
The task
Bug in the HW dialect `FlattenIO` pass (`hw-flatten-io` in `circt-opt`), which flattens struct-typed module in- and output ports into scalar ports: it crashes for instances of `hw.module.extern`.
Part of henryen/OriGent-SFT-Data.