Files
clang-p2996/mlir/lib/Dialect/MemRef/Utils/MemRefUtils.cpp
Quinn Dawkins 4e2efea5e8 [mlir][vector] Add all view-like ops to transfer flow opt (#110521)
`vector.transfer_*` folding and forwarding currently does not take into
account reshaping view-like memref ops (expand and collapse shape),
leading to potentially invalid store folding or value forwarding. This
patch adds tracking for those (and other) view-like ops. It is still
possible to design operations that alias memrefs without being a view
(e.g. memref in the iter_args of an `scf.for`), so these patterns may
still need revisiting in the future.
2024-10-02 00:20:44 -04:00

7.4 KiB