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

Rolf Morel llvmlistbot at llvm.org
Fri Jul 4 11:27:25 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>
+      // CHECK: %[[T2:.*]] = linalg.exp ins(%[[T1]]
+      %7 = linalg.exp ins(%6 : tensor<?xf32>) outs(%5 : tensor<?xf32>) -> tensor<?xf32>
----------------
rolfmorel wrote:

May be worth considering if some of these tests are better kept "at the einsum level" (versus moving them from the "einsum level" to the "named level" as it happening now) as it might exercise different code paths.

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


More information about the Mlir-commits mailing list