Skip to content

Commit 31e67e4

Browse files
MaheshRavishankarmemfrob
authored andcommitted
[mlir][Linalg] Fix test to use new reshape op form.
Differential Revision: https://reviews.llvm.org/D101956
1 parent 4341a43 commit 31e67e4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mlir/test/Dialect/Linalg/fusion-push-reshape.mlir

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ func @type_correctness(%arg0 : tensor<6x5xi32>, %arg1 : tensor<5xf32>,
9696
%cst_6 = constant 1.000000e+00 : f32
9797
%cst_7 = constant 7.000000e+00 : f32
9898
%cst_8 = constant 1.1920929E-7 : f32
99-
%25 = linalg.tensor_reshape %arg0
100-
[affine_map<(d0, d1, d2) -> (d0, d1)>, affine_map<(d0, d1, d2) -> (d2)>]
99+
%25 = linalg.tensor_reshape %arg0 [[0, 1], [2]]
101100
: tensor<6x5xi32> into tensor<2x3x5xi32>
102101
%26 = linalg.init_tensor [2, 3, 5] : tensor<2x3x5xf32>
103102
%28 = linalg.generic {

0 commit comments

Comments
 (0)