Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The llhd-mem2reg pass promotes memory and signal slots to SSA values. It recognizes array-element and bit-slice signal projections, but it does not recognize llhd.sig.struct extract as a projection of a…
The task
The `llhd-mem2reg` pass promotes memory and signal slots to SSA values. It recognizes array-element and bit-slice signal projections, but it does not recognize `llhd.sig.struct_extract` as a projection of a struct-valued signal. Consequently, when a process uses `llhd.sig.struct_extract` to obtain a field of an…
Part of henryen/OriGent-SFT-Data.