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

Rolf Morel llvmlistbot at llvm.org
Fri Jul 4 11:33:39 PDT 2025


================
@@ -26,8 +26,8 @@ module {
       // CHECK: %[[T1:.*]] = linalg.fill {{.*}} outs(%[[T0]]
       %6 = tensor.extract_slice %0[%3] [%4] [1] : tensor<?xf32> to tensor<?xf32>
 
-      // CHECK: %[[T2:.*]] = linalg.elemwise_unary ins(%[[T1]]
-      %7 = linalg.elemwise_unary ins(%6 : tensor<?xf32>) outs(%5 : tensor<?xf32>) -> tensor<?xf32>
----------------
rolfmorel wrote:

Hopefully the new `linalg.elementwise` does not have this "feature".

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


More information about the Mlir-commits mailing list