[Mlir-commits] [mlir] [mlir][linalg] Extend `FuseElementwiseOps` pattern to work with named ops (PR #144922)
Renato Golin
llvmlistbot at llvm.org
Fri Jun 20 02:40:49 PDT 2025
================
@@ -1014,3 +1014,24 @@ module {
// CHECK-DAG: %[[T3:.+]] = arith.addf %[[T2]], %[[B1]]
// CHECK: linalg.yield %[[T3]] : f32
// CHECK: return %[[GENERIC]]
+
+// -----
+
+func.func @map_ops(%in1: tensor<8xf32>, %in2: tensor<8xf32>) -> tensor<8xf32> {
----------------
rengolin wrote:
Could you also add a test where the `map` operations each have more than one region ops? The fuser should be able to cope with it.
https://github.com/llvm/llvm-project/pull/144922
More information about the Mlir-commits
mailing list