From 2d9d805c74fcde1906c7ad1d949f5136e777c0f3 Mon Sep 17 00:00:00 2001 From: Peiming Liu Date: Mon, 14 Nov 2022 22:28:12 +0000 Subject: [PATCH] [mlir][sparse] fix memory leak in test cases Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D137985 --- .../Integration/Dialect/SparseTensor/CPU/sparse_codegen_foreach.mlir | 1 + 1 file changed, 1 insertion(+) diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_codegen_foreach.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_codegen_foreach.mlir index 0124ffc..c6ebd2f 100644 --- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_codegen_foreach.mlir +++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_codegen_foreach.mlir @@ -251,6 +251,7 @@ module { bufferization.dealloc_tensor %s3 : tensor<2x2xf64, #DCSC> bufferization.dealloc_tensor %s4 : tensor<2x2xf64, #SortedCOO> bufferization.dealloc_tensor %s5 : tensor<2x2xf64, #SortedCOOPerm> + bufferization.dealloc_tensor %s6 : tensor<7x8x9xf64, #CCCPerm> return } -- 2.7.4