[Mlir-commits] [mlir] [mlir][vector] Clarify the semantics of gather/scatter indexing (nfc) (PR #181357)

Andrzej Warzyński llvmlistbot at llvm.org
Mon Mar 16 08:32:12 PDT 2026


banach-space wrote:

Ping @kuhar @krzysz00

This PR only aims to:

* Clarify the semantics (as agreed in the RFC discussion: https://discourse.llvm.org/t/rfc-semantics-of-vector-gather-indices-with-strided-memrefs).
* Add tests that capture and document the current behaviour and match the docs.

If you think either of these goals is not met, please let me know. Otherwise, if there are no objections, I would plan to land this so we can close the loop on the semantics discussion.

Btw, @krzysz00 - I’m happy to continue the discussion about the inconsistency. However, I don’t think this PR changes much in that regard; it simply rephrases the current documentation and adds tests capturing the existing semantics, without modifying the behaviour itself.

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


More information about the Mlir-commits mailing list