[Mlir-commits] [mlir] [MLIR][Linalg] Remove elemwise_unary and elemwise_binary (PR #147082)

Renato Golin llvmlistbot at llvm.org
Sat Jul 5 10:47:36 PDT 2025


rengolin wrote:

> I remember using elemwise as matching target in the transform dialect tutorial. Could you please double-check that it still runs correctly? It is under examples and the tests may not be run by default unless you specifically build with examples enabled.

Examples moved to `linalg.elementwise`. I've used a `arith.constant dense <0.0>` instead of a broadcast affine map because these are supposed to be transform examples and not linalg ones, and that's simpler to understand.

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


More information about the Mlir-commits mailing list