[Mlir-commits] [mlir] [mlir][Linalg] Fix fusing of indexed linalg consumer with different axes (PR #140892)

Matthias Gehre llvmlistbot at llvm.org
Sun Jun 1 23:34:55 PDT 2025


mgehre-amd wrote:

> Linalg operations are not meant to represent slice semantics this way. It is not caught by the verifier cause that would require a heavy hammer of disallowing indexing maps with constants in the range, and that is not a practical thing to do right now based on how Linalg is used in general.

Unrelated to this PR, but I fell into the same "trap" (?) because I couldn't find anything in the linalg documentation that would forbid this or explain why it is an bad idea.


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


More information about the Mlir-commits mailing list