Repair a verified behavior in llvm/circt.
Repair a verified behavior in llvm/circt.: a task in OriGent-SFT-Data (Harbor dataset). The --flatten-memref pass of circt-opt is supposed to rewrite every statically-shaped memref that is not already unidimensional into a unidimensional memref holding the same number of elements (e.g…
The task
The `--flatten-memref` pass of `circt-opt` is supposed to rewrite every statically-shaped memref that is not already unidimensional into a unidimensional memref holding the same number of elements (e.g. `memref<4x4xi32>` becomes `memref<16xi32>`), rewrite `memref.load`/`memref.store` accesses into a single linearized…
Part of henryen/OriGent-SFT-Data.