[Mlir-commits] [mlir] [mlir][Vector] Promote buffers accessed via dynamic subviews and memref.copy (PR #217793)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Sun Oct 11 09:44:22 PDT 2026
================
@@ -36,11 +41,24 @@ using namespace mlir::vector;
// Utilities
//===----------------------------------------------------------------------===//
-/// Returns whether `xferOp` accesses exactly the whole contents of `slot`, so
-/// it can act as a plain whole-buffer load/store during Mem2Reg.
+/// Returns whether `xferOp` can be promoted to a load/store of `slot`'s vector
+/// value. This requires that the transfer's sole use of the slot is as its
----------------
banach-space wrote:
Are `xferOp`s ever promoted to load/store? From a quick glance, `xferOp`s are simply deleted and replaced with other Ops (e.g. `vector.broadcast`), no?
https://github.com/llvm/llvm-project/pull/217793
More information about the Mlir-commits
mailing list