Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The FIRRTL Dedup pass (run on a FIRRTL circuit, e.g. via circt-opt's --firrtl-dedup ) corrupts the module references of unrelated modules when it swaps the canonical module of a dedup group, producing an…
The task
The FIRRTL Dedup pass (run on a FIRRTL circuit, e.g. via circt-opt's `--firrtl-dedup`) corrupts the module references of unrelated modules when it swaps the canonical module of a dedup group, producing an invalid circuit that the tool then rejects.
Part of henryen/OriGent-SFT-Data.