[Mlir-commits] [mlir] [MLIR][Linalg] Remove unary named ops (PR #220905)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Fri Sep 4 06:24:35 PDT 2026


================
@@ -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.elementwise kind=#linalg.elementwise_kind<exp> ins(%[[T1]]
-      %7 = linalg.elementwise kind=#linalg.elementwise_kind<exp> ins(%6 : tensor<?xf32>) outs(%5 : tensor<?xf32>) -> tensor<?xf32>
+      // CHECK: %[[T2:.*]] = linalg.elementwise kind=#linalg.elementwise_kind<abs> ins(%[[T1]]
----------------
ftynse wrote:

Same as above, I don't see why we change the kind here

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


More information about the Mlir-commits mailing list