Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The FIRRTL firrtl-emit-metadata pass (the SiFive metadata creation pass, run with the repl-seq-mem option enabled) emits memory metadata incorrectly in two observable ways.
The task
The FIRRTL `firrtl-emit-metadata` pass (the SiFive metadata creation pass, run with the `repl-seq-mem` option enabled) emits memory metadata incorrectly in two observable ways.
Part of henryen/OriGent-SFT-Data.