diff --git a/mlir/test/Dialect/Linalg/fuse-with-reshape-by-collapsing.mlir b/mlir/test/Dialect/Linalg/fuse-with-reshape-by-collapsing.mlir --- a/mlir/test/Dialect/Linalg/fuse-with-reshape-by-collapsing.mlir +++ b/mlir/test/Dialect/Linalg/fuse-with-reshape-by-collapsing.mlir @@ -39,7 +39,7 @@ // CHECK-SAME: indexing_maps = [#[[MAP0]], #[[MAP1]], #[[MAP2]], #[[MAP0]]] // CHECK-SAME: iterator_types = ["parallel", "parallel", "parallel", "parallel", "parallel"] // CHECK-SAME: ins(%[[ARG0]], %[[ARG1_RESHAPE]], %[[ARG2_RESHAPE]] : -// CHECK_SAME: outs(%[[INIT_RESHAPE]] : +// CHECK-SAME: outs(%[[INIT_RESHAPE]] : // CHECK: %[[RESULT_RESHAPE:.+]] = tensor.expand_shape %[[COLLAPSED_OP]] {{\[}}[0], [1, 2], [3], [4, 5, 6], [7]{{\]}} // CHECK: return %[[RESULT_RESHAPE]] @@ -153,7 +153,7 @@ // CHECK-SAME: indexing_maps = [#[[MAP0]], #[[MAP1]], #[[MAP2]], #[[MAP3]]] // CHECK-SAME: iterator_types = ["parallel", "parallel", "parallel", "parallel", "parallel"] // CHECK-SAME: ins(%[[ARG0]], %[[ARG1_RESHAPE]], %[[ARG2_RESHAPE]] : -// CHECK_SAME: outs(%[[INIT_RESHAPE]] : +// CHECK-SAME: outs(%[[INIT_RESHAPE]] : // CHECK: %[[RESULT_RESHAPE:.+]] = tensor.expand_shape %[[COLLAPSED_OP]] {{\[}}[0], [1, 2, 3], [4], [5, 6], [7]{{\]}} // CHECK: return %[[RESULT_RESHAPE]] diff --git a/mlir/test/Dialect/MemRef/canonicalize.mlir b/mlir/test/Dialect/MemRef/canonicalize.mlir --- a/mlir/test/Dialect/MemRef/canonicalize.mlir +++ b/mlir/test/Dialect/MemRef/canonicalize.mlir @@ -429,7 +429,7 @@ // CHECK-LABEL: func @collapse_after_memref_cast( // CHECK-SAME: %[[INPUT:.*]]: memref) -> memref { // CHECK: %[[COLLAPSED:.*]] = memref.collapse_shape %[[INPUT]] -// CHECK_SAME: {{\[\[}}0], [1, 2, 3]] : memref into memref +// CHECK-SAME: {{\[\[}}0], [1, 2, 3]] : memref into memref // CHECK: return %[[COLLAPSED]] : memref func.func @collapse_after_memref_cast(%arg0 : memref) -> memref { %dynamic = memref.cast %arg0: memref to memref @@ -442,7 +442,7 @@ // CHECK-LABEL: func @collapse_after_memref_cast_type_change_dynamic( // CHECK-SAME: %[[INPUT:.*]]: memref<1x1x1x?xi64>) -> memref { // CHECK: %[[COLLAPSED:.*]] = memref.collapse_shape %[[INPUT]] -// CHECK_SAME: {{\[\[}}0, 1, 2], [3]] : memref<1x1x1x?xi64> into memref<1x?xi64> +// CHECK-SAME: {{\[\[}}0, 1, 2], [3]] : memref<1x1x1x?xi64> into memref<1x?xi64> // CHECK: %[[DYNAMIC:.*]] = memref.cast %[[COLLAPSED]] : // CHECK-SAME: memref<1x?xi64> to memref // CHECK: return %[[DYNAMIC]] : memref diff --git a/mlir/test/Dialect/SPIRV/IR/memory-ops.mlir b/mlir/test/Dialect/SPIRV/IR/memory-ops.mlir --- a/mlir/test/Dialect/SPIRV/IR/memory-ops.mlir +++ b/mlir/test/Dialect/SPIRV/IR/memory-ops.mlir @@ -342,7 +342,7 @@ spv.module Logical GLSL450 { spv.GlobalVariable @var0 : !spv.ptr spv.GlobalVariable @var1 : !spv.ptr>, UniformConstant> - // CHECK_LABEL: @simple_load + // CHECK-LABEL: @simple_load spv.func @simple_load() -> () "None" { // CHECK: spv.Load "Input" {{%.*}} : f32 %0 = spv.mlir.addressof @var0 : !spv.ptr @@ -367,7 +367,7 @@ return } -// CHECK_LABEL: @volatile_store +// CHECK-LABEL: @volatile_store func.func @volatile_store(%arg0 : f32) -> () { %0 = spv.Variable : !spv.ptr // CHECK: spv.Store "Function" %0, %arg0 ["Volatile"] : f32 @@ -375,7 +375,7 @@ return } -// CHECK_LABEL: @aligned_store +// CHECK-LABEL: @aligned_store func.func @aligned_store(%arg0 : f32) -> () { %0 = spv.Variable : !spv.ptr // CHECK: spv.Store "Function" %0, %arg0 ["Aligned", 4] : f32 diff --git a/mlir/test/Dialect/Vector/vector-transfer-full-partial-split.mlir b/mlir/test/Dialect/Vector/vector-transfer-full-partial-split.mlir --- a/mlir/test/Dialect/Vector/vector-transfer-full-partial-split.mlir +++ b/mlir/test/Dialect/Vector/vector-transfer-full-partial-split.mlir @@ -54,7 +54,7 @@ // CHECK-SAME: memref, index, index // CHECK: } // CHECK: %[[res:.*]] = vector.transfer_read %[[ifres]]#0[%[[ifres]]#1, %[[ifres]]#2], %cst - // CHECK_SAME: {in_bounds = [true, true]} : memref, vector<4x8xf32> + // CHECK-SAME: {in_bounds = [true, true]} : memref, vector<4x8xf32> // LINALG-DAG: %[[c0:.*]] = arith.constant 0 : index // LINALG-DAG: %[[c4:.*]] = arith.constant 4 : index diff --git a/mlir/test/IR/dynamic.mlir b/mlir/test/IR/dynamic.mlir --- a/mlir/test/IR/dynamic.mlir +++ b/mlir/test/IR/dynamic.mlir @@ -11,7 +11,7 @@ "unregistered_op"() : () -> !test.dynamic_singleton // CHECK-NEXT: "unregistered_op"() : () -> !test.dynamic_pair "unregistered_op"() : () -> !test.dynamic_pair - // CHECK_NEXT: %{{.*}} = "unregistered_op"() : () -> !test.dynamic_pair, !test.dynamic_singleton> + // CHECK-NEXT: %{{.*}} = "unregistered_op"() : () -> !test.dynamic_pair, !test.dynamic_singleton> "unregistered_op"() : () -> !test.dynamic_pair, !test.dynamic_singleton> return } @@ -53,7 +53,7 @@ "unregistered_op"() {test_attr = #test.dynamic_singleton} : () -> () // CHECK-NEXT: "unregistered_op"() {test_attr = #test.dynamic_pair<3 : i32, 5 : i32>} : () -> () "unregistered_op"() {test_attr = #test.dynamic_pair<3 : i32, 5 : i32>} : () -> () - // CHECK_NEXT: "unregistered_op"() {test_attr = #test.dynamic_pair<3 : i32, 5 : i32>} : () -> () + // CHECK-NEXT: "unregistered_op"() {test_attr = #test.dynamic_pair<#test.dynamic_pair<3 : i32, 5 : i32>, f64>} : () -> () "unregistered_op"() {test_attr = #test.dynamic_pair<#test.dynamic_pair<3 : i32, 5 : i32>, f64>} : () -> () return }