Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The FIRRTL LowerXMR pass ( circt-opt --firrtl-lower-xmr ) only lowers RefType/probe constructs in modules that are reachable from the circuit's top module. Any module that is not instantiated, directly or…
The task
The FIRRTL LowerXMR pass (`circt-opt --firrtl-lower-xmr`) only lowers RefType/probe constructs in modules that are reachable from the circuit's top module. Any module that is not instantiated, directly or transitively, from the top module is skipped entirely by the pass, which produces incorrect or invalid output IR.
Part of henryen/OriGent-SFT-Data.