Skip to content

Commit d3458a6

Browse files
[fixup] Fix a couple of FileCheck lines
1 parent 1cee446 commit d3458a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/test/Dialect/Vector/vector-transfer-flatten.mlir

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ func.func @transfer_read_dynamic_dim_to_flatten(
212212
// CHECK: %[[C0_I32:.*]] = arith.constant 0 : i32
213213
// CHECK: %[[C0:.*]] = arith.constant 0 : index
214214
// CHECK: %[[COLLAPSED:.*]] = memref.collapse_shape %[[MEM]]
215-
// CHECK-SAME-LITERAL: [[0], [1, 2, 3]]
215+
// CHECK-SAME{LITERAL}: [[0], [1, 2, 3]]
216216
// CHECK-SAME: memref<1x?x4x6xi32> into memref<1x?xi32>
217217
// CHECK: %[[COLLAPSED_IDX:.*]] = affine.apply #[[$MAP]]()[%[[IDX_1]], %[[IDX_2]]]
218218
// CHECK: %[[VEC_1D:.*]] = vector.transfer_read %[[COLLAPSED]][%[[C0]], %[[COLLAPSED_IDX]]],
@@ -490,7 +490,7 @@ func.func @transfer_write_dynamic_to_flatten(
490490

491491
// CHECK: %[[C0:.*]] = arith.constant 0 : index
492492
// CHECK: %[[COLLAPSED_MEM:.*]] = memref.collapse_shape %[[MEM]]
493-
// CHECK-SAME-LITERAL: [[0], [1, 2, 3]]
493+
// CHECK-SAME{LITERAL}: [[0], [1, 2, 3]]
494494
// CHECK-SAME: : memref<1x?x4x6xi32> into memref<1x?xi32>
495495
// CHECK: %[[COLLAPSED_IDX:.*]] = affine.apply #[[$MAP]]()[%[[IDX_1]], %[[IDX_2]]]
496496
// CHECK: %[[VEC_1D:.*]] = vector.shape_cast %[[VEC]] : vector<1x2x6xi32> to vector<12xi32>

0 commit comments

Comments
 (0)