[Mlir-commits] [mlir] [MLIR][Linalg] Bail out if the tiles provided are more than the number (PR #66007)
Kai Sasaki
llvmlistbot at llvm.org
Mon Sep 11 19:32:09 PDT 2023
================
@@ -220,3 +220,20 @@ transform.sequence failures(propagate) {
%0 = transform.structured.match ops{["linalg.matmul"]} in %arg1 : (!transform.any_op) -> !transform.any_op
%1, %loops:3 = transform.structured.tile %0 [4, 4, [4]] : (!transform.any_op) -> (!transform.any_op, !transform.any_op, !transform.any_op, !transform.any_op)
}
+
+// -----
+
+func.func @matmul(%arg0: tensor<128x128xf32>, %arg1: tensor<128x128xf32>,
----------------
Lewuathe wrote:
How about using the function name reflecting the purpose of this test case?
```suggestion
func.func @too_many_tile(%arg0: tensor<128x128xf32>, %arg1: tensor<128x128xf32>,
```
https://github.com/llvm/llvm-project/pull/66007
More information about the Mlir-commits
mailing list