Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). When LowerToHW lowers a scalarized FIRRTL module, it preserves the relative order of each direction in the resulting hw.module port list, but it skips zero-width ports. During body lowering, a nonzero-width…
The task
When LowerToHW lowers a scalarized FIRRTL module, it preserves the relative order of each direction in the resulting hw.module port list, but it skips zero-width ports. During body lowering, a nonzero-width output is represented by a temporary hw.wire in the module body, and an inner symbol on that output is expected…
Part of henryen/OriGent-SFT-Data.