[Mlir-commits] [mlir] 1e33330 - mlir/TosaToTensor: fix typos in test

Ramkumar Ramachandra llvmlistbot at llvm.org
Sat Dec 3 00:57:20 PST 2022


Author: Ramkumar Ramachandra
Date: 2022-12-03T09:57:10+01:00
New Revision: 1e33330e29e7b8965e451113276b10d22288f97f

URL: https://github.com/llvm/llvm-project/commit/1e33330e29e7b8965e451113276b10d22288f97f
DIFF: https://github.com/llvm/llvm-project/commit/1e33330e29e7b8965e451113276b10d22288f97f.diff

LOG: mlir/TosaToTensor: fix typos in test

This patch fixes a misspelt CHECK-LABEL in tosa-to-tensor.mlir.

Signed-off-by: Ramkumar Ramachandra <r at artagnon.com>

Differential Revision: https://reviews.llvm.org/D139085

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/test/Conversion/TosaToTensor/tosa-to-tensor.mlir b/mlir/test/Conversion/TosaToTensor/tosa-to-tensor.mlir
index 896fc78e5a9cc..08105c72eb5a0 100644
--- a/mlir/test/Conversion/TosaToTensor/tosa-to-tensor.mlir
+++ b/mlir/test/Conversion/TosaToTensor/tosa-to-tensor.mlir
@@ -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]]


        


More information about the Mlir-commits mailing list