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 mishandles a non-zero-width firrtl.ref.sub when its input is a module port. A module port has no defining operation, but the current ref.sub handling tries to inspect that absent…
The task
The FIRRTL LowerXMR pass mishandles a non-zero-width `firrtl.ref.sub` when its input is a module port. A module port has no defining operation, but the current `ref.sub` handling tries to inspect that absent defining operation as a memory and aborts with an LLVM `dyn_cast` assertion.
Part of henryen/OriGent-SFT-Data.