[Mlir-commits] [mlir] [MLIR][Linalg] Remove elemwise_unary and elemwise_binary (PR #147082)
Rolf Morel
llvmlistbot at llvm.org
Fri Jul 4 11:28:11 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:
That is, maybe this and/or others should be a `linalg.elementwise kind=#linalg.elementwise_kind<exp>` instead of `linalg.exp`?
https://github.com/llvm/llvm-project/pull/147082
More information about the Mlir-commits
mailing list