Skip to content

Commit a5d7fc1

Browse files
[mlir][sparse] Fix typos in comments (#86074)
1 parent 29bf32e commit a5d7fc1

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack.mlir

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,7 @@ module {
285285
%has_runtime = sparse_tensor.has_runtime_library
286286
scf.if %has_runtime {
287287
// sparse_tensor.assemble copies buffers when running with the runtime
288-
// library. Deallocations are needed not needed when running in codgen
289-
// mode.
288+
// library. Deallocations are not needed when running in codegen mode.
290289
bufferization.dealloc_tensor %s4 : tensor<10x10xf64, #SortedCOO>
291290
bufferization.dealloc_tensor %s5 : tensor<10x10xf64, #SortedCOOI32>
292291
bufferization.dealloc_tensor %csr : tensor<2x2xf64, #CSR>

mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,7 @@ module {
146146
%has_runtime = sparse_tensor.has_runtime_library
147147
scf.if %has_runtime {
148148
// sparse_tensor.assemble copies buffers when running with the runtime
149-
// library. Deallocations are needed not needed when running in codgen
150-
// mode.
149+
// library. Deallocations are not needed when running in codegen mode.
151150
bufferization.dealloc_tensor %s0 : tensor<4x3x2xf32, #CCC>
152151
bufferization.dealloc_tensor %s1 : tensor<4x3x2xf32, #BatchedCSR>
153152
bufferization.dealloc_tensor %s2 : tensor<4x3x2xf32, #CSRDense>

0 commit comments

Comments
 (0)