[Mlir-commits] [mlir] [mlir][nfc] Fix test post #220912) (PR #222595)

Andrzej WarzyƄski llvmlistbot at llvm.org
Thu Sep 10 03:36:07 PDT 2026


https://github.com/banach-space created https://github.com/llvm/llvm-project/pull/222595

Failing bot:
* https://lab.llvm.org/staging/#/builders/240/builds/45


>From 270e3af3ad744eb60941b6327bfb10d3e1a92075 Mon Sep 17 00:00:00 2001
From: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: Thu, 10 Sep 2026 10:33:35 +0000
Subject: [PATCH] [mlir][nfc] Fix test post #220912)

Failing bot:
* https://lab.llvm.org/staging/#/builders/240/builds/45
---
 mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp         | 2 +-
 mlir/test/Integration/Dialect/Transform/match_matmul.mlir | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp b/mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp
index 587aecc7adaf1..e64d9537c6be3 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp
@@ -259,7 +259,7 @@ static FailureOr<LinalgOp> specializeLinalgElementwise(RewriterBase &rewriter,
           genericOp, "unary elementwise operation cannot be specialized to a "
                      "category op");
 
-    // Boolean-typed `linalg.add` and `linalg.mul` require special handling.
+    // Boolean-typed `ADD` and `MUL` require special handling.
     bool allBool = llvm::all_of(
         op->getOperands(), [](Value v) { return v.getType().isInteger(1); });
 
diff --git a/mlir/test/Integration/Dialect/Transform/match_matmul.mlir b/mlir/test/Integration/Dialect/Transform/match_matmul.mlir
index e3fee917cdeaa..e440cbe02dc7e 100644
--- a/mlir/test/Integration/Dialect/Transform/match_matmul.mlir
+++ b/mlir/test/Integration/Dialect/Transform/match_matmul.mlir
@@ -69,7 +69,7 @@ func.func @matmul_with_extra_ops_in_func(%lhs: tensor<10x20xf32>, %rhs: tensor<2
   // expected-remark @below {{fill}}
   %fill = linalg.fill ins(%cst : f32) outs(%empty : tensor<10x15xf32>) -> tensor<10x15xf32>
 
-  %real_lhs = linalg.mul
+  %real_lhs = linalg.elementwise kind=#linalg.elementwise_kind<mul>
     ins(%lhs, %lhs : tensor<10x20xf32>, tensor<10x20xf32>) outs(%lhs : tensor<10x20xf32>) -> tensor<10x20xf32>
 
   // expected-remark @below {{matmul}}



More information about the Mlir-commits mailing list