Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The HW dialect reduction patterns in circt-reduce that remove module ports only apply to modules whose symbol has no uses at all -- in practice only the top-level module of a design, since every other module is…
The task
The HW dialect reduction patterns in `circt-reduce` that remove module ports only apply to modules whose symbol has no uses at all -- in practice only the top-level module of a design, since every other module is referenced by at least one `hw.instance`. Specifically, `hw-module-input-pruner` fires only on such a…
Part of henryen/OriGent-SFT-Data.