mlir/TosaToTensor: fix typos in test
authorRamkumar Ramachandra <r@artagnon.com>
Thu, 1 Dec 2022 09:45:34 +0000 (10:45 +0100)
committerRamkumar Ramachandra <r@artagnon.com>
Sat, 3 Dec 2022 08:57:10 +0000 (09:57 +0100)
This patch fixes a misspelt CHECK-LABEL in tosa-to-tensor.mlir.

Signed-off-by: Ramkumar Ramachandra <r@artagnon.com>
Differential Revision: https://reviews.llvm.org/D139085

mlir/test/Conversion/TosaToTensor/tosa-to-tensor.mlir

index 896fc78..08105c7 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: mlir-opt --split-input-file --tosa-to-tensor %s -o -| FileCheck %s
 
-// CHECK-LABLE: func @slice
+// CHECK-LABEL: @slice
 func.func @slice(%arg0: tensor<6xf32>) ->() {
   // CHECK: [[SLICE:%.+]] = tensor.extract_slice %arg0[2] [1] [1]
   %0 = "tosa.slice"(%arg0) {start = [2], size = [1]} : (tensor<6xf32>)  -> (tensor<1xf32>)
@@ -9,7 +9,7 @@ func.func @slice(%arg0: tensor<6xf32>) ->() {
 
 // -----
 
-// CHECK-LABLE: func @slice_dyn
+// CHECK-LABEL: @slice_dyn
 func.func @slice_dyn(%arg0: tensor<?xf32>) -> (tensor<?xf32>) {
   // CHECK: %[[C0:.+]] = arith.constant 0 : index
   // CHECK: %[[DIM:.+]] = tensor.dim %arg0, %[[C0]]