Skip to content

Commit 9acf032

Browse files
committed
format generic op
Signed-off-by: hanhanW <[email protected]>
1 parent 24d6062 commit 9acf032

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mlir/test/Dialect/Linalg/canonicalize.mlir

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,11 @@ func.func @cast_dest(%arg0: tensor<?x?x?xf32>, %arg1: tensor<1x?x?xf32>, %arg2:
657657
// CHECK-SAME: %[[ARG1:[a-zA-Z0-9]+]]
658658
func.func @static_shape_inference_with_encoding(%arg0: tensor<?x?xf32, #sparse>, %arg1: tensor<?x?xf32>) -> tensor<3x4xf32> {
659659
%0 = tensor.empty() : tensor<3x4xf32>
660-
%1 = linalg.generic {indexing_maps = [#map, #map, #map], iterator_types = ["parallel", "parallel"]} ins(%arg0, %arg1 : tensor<?x?xf32, #sparse>, tensor<?x?xf32>) outs(%0 : tensor<3x4xf32>) {
660+
%1 = linalg.generic {
661+
indexing_maps = [#map, #map, #map],
662+
iterator_types = ["parallel", "parallel"]
663+
} ins(%arg0, %arg1 : tensor<?x?xf32, #sparse>, tensor<?x?xf32>)
664+
outs(%0 : tensor<3x4xf32>) {
661665
^bb0(%in: f32, %in_0: f32, %out: f32):
662666
%2 = arith.addf %in, %in_0 : f32
663667
linalg.yield %2 : f32

0 commit comments

Comments
 (0)