@@ -110,12 +110,12 @@ func.func @transfer_read_dims_mismatch_non_zero_indices(
110
110
111
111
func.func @transfer_read_dims_mismatch_non_contiguous_non_zero_indices (
112
112
%arg : memref <1 x3 x3 x2 xf32 , strided <[40 , 10 , 2 , 1 ], offset : ?>>,
113
- %idx0 : index ,
114
- %idx1 : index ) -> vector <2 x2 xf32 > {
113
+ %idx_1 : index ,
114
+ %idx_2 : index ) -> vector <2 x2 xf32 > {
115
115
116
116
%c0 = arith.constant 0 : index
117
117
%cst_1 = arith.constant 0.000000e+00 : f32
118
- %8 = vector.transfer_read %arg [%c0 , %idx0 , %idx1 , %c0 ], %cst_1 {in_bounds = [true , true ]} :
118
+ %8 = vector.transfer_read %arg [%c0 , %idx_1 , %idx_2 , %c0 ], %cst_1 {in_bounds = [true , true ]} :
119
119
memref <1 x3 x3 x2 xf32 , strided <[40 , 10 , 2 , 1 ], offset : ?>>, vector <2 x2 xf32 >
120
120
return %8 : vector <2 x2 xf32 >
121
121
}
@@ -358,11 +358,11 @@ func.func @transfer_write_dims_mismatch_non_zero_indices(
358
358
func.func @transfer_write_dims_mismatch_non_contiguous_non_zero_indices (
359
359
%value : vector <2 x2 xf32 >,
360
360
%subview : memref <1 x3 x3 x2 xf32 , strided <[40 , 10 , 2 , 1 ], offset : ?>>,
361
- %idx0 : index ,
362
- %idx1 : index ) {
361
+ %idx_1 : index ,
362
+ %idx_2 : index ) {
363
363
364
364
%c0 = arith.constant 0 : index
365
- vector.transfer_write %value , %subview [%c0 , %idx0 , %idx1 , %c0 ] {in_bounds = [true , true ]} : vector <2 x2 xf32 >, memref <1 x3 x3 x2 xf32 , strided <[40 , 10 , 2 , 1 ], offset : ?>>
365
+ vector.transfer_write %value , %subview [%c0 , %idx_1 , %idx_2 , %c0 ] {in_bounds = [true , true ]} : vector <2 x2 xf32 >, memref <1 x3 x3 x2 xf32 , strided <[40 , 10 , 2 , 1 ], offset : ?>>
366
366
return
367
367
}
368
368
@@ -392,7 +392,7 @@ func.func @transfer_write_leading_dynamic_dims(
392
392
}
393
393
394
394
// CHECK-LABEL: func @transfer_write_leading_dynamic_dims
395
- // CHECK-SAME: %[[ARG0:.+]]: vector<8x4xi8>, %[[ARG1:.+]]: memref<?x?x8x4xi8, {{.+}}>, %[[ARG2:.+]]: index, %[[ARG3:.+]]: index
395
+ // CHECK-SAME: %[[ARG0:.+]]: vector<8x4xi8>, %[[ARG1:.+]]: memref<?x?x8x4xi8, {{.+}}>, %[[ARG2:.+]]: index, %[[ARG3:.+]]: index
396
396
// CHECK: %[[C0:.+]] = arith.constant 0 : index
397
397
// CHECK: %[[COLLAPSED:.+]] = memref.collapse_shape %[[ARG1]] {{\[}}[0], [1], [2, 3]{{\]}}
398
398
// CHECK-SAME: : memref<?x?x8x4xi8, {{.+}}> into memref<?x?x32xi8, {{.+}}>
0 commit comments