[Mlir-commits] [mlir] [mlir][nfc] Fix test post #220912) (PR #222595)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Sep 10 03:36:43 PDT 2026
llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir
Author: Andrzej WarzyĆski (banach-space)
<details>
<summary>Changes</summary>
Failing bot:
* https://lab.llvm.org/staging/#/builders/240/builds/45
---
Full diff: https://github.com/llvm/llvm-project/pull/222595.diff
2 Files Affected:
- (modified) mlir/lib/Dialect/Linalg/Transforms/Specialize.cpp (+1-1)
- (modified) mlir/test/Integration/Dialect/Transform/match_matmul.mlir (+1-1)
``````````diff
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}}
``````````
</details>
https://github.com/llvm/llvm-project/pull/222595
More information about the Mlir-commits
mailing list