Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The hw-flatten-io pass on the CIRCT HW dialect flattens struct-typed module ports: every port of a hw.module , hw.module.extern , or hw.module.generated whose type is a !hw.struct<... is replaced by one port…
The task
The `hw-flatten-io` pass on the CIRCT HW dialect flattens struct-typed module ports: every port of a `hw.module`, `hw.module.extern`, or `hw.module.generated` whose type is a `!hw.struct<...>` is replaced by one port per struct field, each new port being named `<oldName>.<fieldName>` (e.g. a port `in : !hw.struct<a:…
Part of henryen/OriGent-SFT-Data.