[Mlir-commits] [mlir] [mlir] Implement indexed access op interfaces for memref, vector, gpu, nvgpu (PR #177014)
Krzysztof Drewniak
llvmlistbot at llvm.org
Thu Feb 5 11:52:15 PST 2026
================
@@ -2103,6 +2111,14 @@ def Vector_GatherOp :
memory at an address aligned to this boundary. Violating this requirement
triggers immediate undefined behavior.
+ Note that if the base argument is not contiguous in memory (for example,
+ it is the result of a `tensor.extract` or a `memref.subview`), the entries
+ of `index_vec` must respect the strieds in the underlying memory and are
+ applied as pure 1-D offsets and are not decomposed in order to apply
+ the strides on the base.
----------------
krzysz00 wrote:
Thanks for taking the time to write up the RFC!
https://github.com/llvm/llvm-project/pull/177014
More information about the Mlir-commits
mailing list