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

Mehdi Amini llvmlistbot at llvm.org
Mon Oct 16 18:41:05 PDT 2023


joker-eph wrote:

> Well, Pure is meant to allow CSE within the body of linalg.generic . 

I understand this is what you intend to enable but...

> I think marking it Pure still makes sense to me.

I don't quite get this... How can an operation that produced different value without any operand possibly match the definition of "Pure"? 


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


More information about the Mlir-commits mailing list