[Mlir-commits] [mlir] [mlir][linalg] Genericize MapOp (PR #162742)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sat Oct 11 16:01:41 PDT 2025


srcarroll wrote:

> If the `map` operation doesn't use the `init`, then bufferization will always create a new allocation.
> 
> Adding @javedabsar1 who wrote the generalization code and @matthias-springer who knows more about the bufferization part.

Hmm, good point, but that same issue would exist for ALL linalg ops that don't use init, like `linalg.elementwise` for example.  So I don't see that as a good reason to not make `linalg.map` work like `linalg.generic`.

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


More information about the Mlir-commits mailing list