[Mlir-commits] [mlir] [mlir][vector] Make gather/scatter index dimensions separately (PR #194395)

Erick Ochoa Lopez llvmlistbot at llvm.org
Mon May 4 13:54:34 PDT 2026


amd-eochoalo wrote:

Thanks @krzysz00! This looks good. I like that both semantics will be available with this new syntax, so users can be explicit about what they want.

> This means that you can manipulate the indexing into each memref dimension separately without needing to break up the indices with possibly dynamic values - for example, folding an expand_shape into a gather will now can look like just merging together the relevant gather indices.

This looks really interesting but I am having a little bit of trouble following this sentence. Can you write an example using MLIR syntax?

Thanks!


https://github.com/llvm/llvm-project/pull/194395


More information about the Mlir-commits mailing list