[Mlir-commits] [mlir] 9e6261e - [mlir][sparse] fix typo in CHECK test

Aart Bik llvmlistbot at llvm.org
Wed Jun 22 09:43:47 PDT 2022


Author: Aart Bik
Date: 2022-06-22T09:43:32-07:00
New Revision: 9e6261edc0547b0c4f82d6fa7776c3447f0229d9

URL: https://github.com/llvm/llvm-project/commit/9e6261edc0547b0c4f82d6fa7776c3447f0229d9
DIFF: https://github.com/llvm/llvm-project/commit/9e6261edc0547b0c4f82d6fa7776c3447f0229d9.diff

LOG: [mlir][sparse] fix typo in CHECK test

Thanks Peiming for reporting!

Reviewed By: Peiming

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

Added: 
    

Modified: 
    mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_triangular_bin.mlir

Removed: 
    


################################################################################
diff  --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_triangular_bin.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_triangular_bin.mlir
index f07f4e990346..468bc2f847f0 100644
--- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_triangular_bin.mlir
+++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_triangular_bin.mlir
@@ -74,8 +74,8 @@ module {
     //
     // Verify the results.
     //
-    // CHECK:     ( ( 2, 0, 4, 1 ), ( 0, 2.5, 0, 0 ), ( -1, -5, 2, 4 ), ( 1, 4, 0, 0 ) )
-    // CHECK-NEXST: ( 2, 4, 1, 2.5, -1, -5, 2, 4, 1, 4, -1, -1, -1, -1, -1, -1 )
+    // CHECK:    ( ( 2, 0, 4, 1 ), ( 0, 2.5, 0, 0 ), ( -1, -5, 2, 4 ), ( 1, 4, 0, 0 ) )
+    // CHECK-NEXT: ( 2, 4, 1, 2.5, -1, -5, 2, 4, 1, 4, -1, -1, -1, -1, -1, -1 )
     //
     %c = sparse_tensor.convert %0 : tensor<4x4xf64, #SparseMatrix> to tensor<4x4xf64>
     %m = bufferization.to_memref %c : memref<4x4xf64>


        


More information about the Mlir-commits mailing list