1// RUN: mlir-opt -test-linalg-transform-patterns=test-tile-pattern %s | FileCheck %s
2
3func.func @matmul_zero_tile(
4  %arg0: tensor<?x?xf32>, %arg1 : tensor<?x?xf32>, %arg2 : tensor<?x?xf32>) -> tensor<?x?xf32> {
5  %0 = linalg.matmul {__internal_linalg_transform__ = "tile"}
6      ins(%arg0, %arg1 : tensor<?x?xf32>, tensor<?x?xf32>)
7      outs(%arg2 : tensor<?x?xf32>) -> tensor<?x?xf32>
8  return %0 : tensor<?x?xf32>
9}
10// CHECK-LABEL: matmul_zero_tile
11//       CHECK:   linalg.matmul
12//   CHECK-NOT:   __internal_linalg_transform__
13