[Mlir-commits] [mlir] Remove Pure attribute from Linalg::IndexOp. (PR #68894)

Matthias Springer llvmlistbot at llvm.org
Mon Jul 13 06:00:48 PDT 2026


matthias-springer wrote:

Multiple comments above ([example](https://github.com/llvm/llvm-project/pull/68894#issuecomment-1765549641)) have suggested using block arguments. We have recently added a new token type to MLIR. Another approach that won't regress CSE/DCE/... would be to add a new token block argument to `linalg.generic`, and let `linalg.index` take that token as an operand. That way, `linalg.index` could remain `Pure`.


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


More information about the Mlir-commits mailing list