[all-commits] [llvm/llvm-project] 00005e: [mlir] Interface-ify updating starting positions o...
Krzysztof Drewniak via All-commits
all-commits at lists.llvm.org
Mon May 4 08:33:02 PDT 2026
Branch: refs/heads/users/krzysz00/update-method-vector-transfers
Home: https://github.com/llvm/llvm-project
Commit: 00005e41f7ae3cc49f74aee5e2e91819a0b46d24
https://github.com/llvm/llvm-project/commit/00005e41f7ae3cc49f74aee5e2e91819a0b46d24
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2026-05-04 (Mon, 04 May 2026)
Changed paths:
M mlir/include/mlir/Interfaces/VectorInterfaces.h
M mlir/include/mlir/Interfaces/VectorInterfaces.td
M mlir/lib/Dialect/MemRef/Transforms/FoldMemRefAliasOps.cpp
M mlir/test/Dialect/MemRef/fold-memref-alias-ops.mlir
Log Message:
-----------
[mlir] Interface-ify updating starting positions on vector.transfer_*
This commit adds methods to VectorTransferOpInterface that allow
transfer operations to be queried for whether their base memref (or
tensor) and permutation map can be updated in some particular way and
then for performing this update. This is part of a series of changes
designed to make passes like fold-memref-alias-ops more generic,
allowing downstream operations, like IREE's transfer_gather, to
participate in them without needing to duplicate patterns.
In order to test this new method, migrate FoldMemrefAliasOps to use
these methods to fold memref.subview, memref.expand_shape,and
memref.collapse_shape into tranfer_read and transfer_write.
AI note: the tranfer_read / transfer_write patterns, which are taken
from a previous PR, were written with Claude 4.5.
Commit: 1e9db29931adc5afefd6fc6170dbabc450946ba6
https://github.com/llvm/llvm-project/commit/1e9db29931adc5afefd6fc6170dbabc450946ba6
Author: Krzysztof Drewniak <Krzysztof.Drewniak at amd.com>
Date: 2026-05-04 (Mon, 04 May 2026)
Changed paths:
M mlir/include/mlir/Interfaces/VectorInterfaces.td
Log Message:
-----------
Review feedback
Compare: https://github.com/llvm/llvm-project/compare/09479f022960...1e9db29931ad
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list