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

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon Dec 11 17:24:45 PST 2023


erick-xanadu wrote:

>  we make nested linalg ops illegal then the above issue is potentially mute cause you would never have case where it would be illegal to cse linalg.index ops. This issue came about because someone tried to use nested linalg ops.

Correction: I used inlining and a function call that uses linalg operations was inlined inside a linalg op.

What is the limitation of linalg and why can't linalg be nested? This seems a bit of an arbitrary restriction but I don't have all the context, so I am happy to learn more about this.

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


More information about the Mlir-commits mailing list