forked from OSchip/llvm-project
[mlir][sparse] fix asan leak of two sparse vectors
Reviewed By: Peiming Differential Revision: https://reviews.llvm.org/D130914
This commit is contained in:
parent
8e51917b39
commit
3b9bee1651
|
@ -537,6 +537,8 @@ module {
|
||||||
// Release the resources.
|
// Release the resources.
|
||||||
bufferization.dealloc_tensor %sv1 : tensor<?xf64, #SparseVector>
|
bufferization.dealloc_tensor %sv1 : tensor<?xf64, #SparseVector>
|
||||||
bufferization.dealloc_tensor %sv2 : tensor<?xf64, #SparseVector>
|
bufferization.dealloc_tensor %sv2 : tensor<?xf64, #SparseVector>
|
||||||
|
bufferization.dealloc_tensor %sv1_si : tensor<?xi32, #SparseVector>
|
||||||
|
bufferization.dealloc_tensor %sv2_si : tensor<?xi32, #SparseVector>
|
||||||
bufferization.dealloc_tensor %sm1 : tensor<?x?xf64, #DCSR>
|
bufferization.dealloc_tensor %sm1 : tensor<?x?xf64, #DCSR>
|
||||||
bufferization.dealloc_tensor %sm2 : tensor<?x?xf64, #DCSR>
|
bufferization.dealloc_tensor %sm2 : tensor<?x?xf64, #DCSR>
|
||||||
bufferization.dealloc_tensor %sm3 : tensor<4x4xf64, #DCSR>
|
bufferization.dealloc_tensor %sm3 : tensor<4x4xf64, #DCSR>
|
||||||
|
|
Loading…
Reference in New Issue