aboutsummaryrefslogtreecommitdiff
path: root/mlir
diff options
context:
space:
mode:
authorMatthias Springer <me@m-sp.org>2024-03-21 12:30:48 +0900
committerGitHub <noreply@github.com>2024-03-21 12:30:48 +0900
commita5d7fc1d1000ffb1d21796f5d587f277c2957d66 (patch)
tree633b4c9eff04ae675aaf95c28b4ad00d9e944d34 /mlir
parent29bf32efbb646b2ab3dec25f100419fc75635878 (diff)
downloadllvm-a5d7fc1d1000ffb1d21796f5d587f277c2957d66.zip
llvm-a5d7fc1d1000ffb1d21796f5d587f277c2957d66.tar.gz
llvm-a5d7fc1d1000ffb1d21796f5d587f277c2957d66.tar.bz2
[mlir][sparse] Fix typos in comments (#86074)
Diffstat (limited to 'mlir')
-rw-r--r--mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack.mlir3
-rwxr-xr-xmlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir3
2 files changed, 2 insertions, 4 deletions
diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack.mlir
index 34d450c..7ecccad 100644
--- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack.mlir
+++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack.mlir
@@ -285,8 +285,7 @@ module {
%has_runtime = sparse_tensor.has_runtime_library
scf.if %has_runtime {
// sparse_tensor.assemble copies buffers when running with the runtime
- // library. Deallocations are needed not needed when running in codgen
- // mode.
+ // library. Deallocations are not needed when running in codegen mode.
bufferization.dealloc_tensor %s4 : tensor<10x10xf64, #SortedCOO>
bufferization.dealloc_tensor %s5 : tensor<10x10xf64, #SortedCOOI32>
bufferization.dealloc_tensor %csr : tensor<2x2xf64, #CSR>
diff --git a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir
index fe88362..20ae7e8 100755
--- a/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir
+++ b/mlir/test/Integration/Dialect/SparseTensor/CPU/sparse_pack_d.mlir
@@ -146,8 +146,7 @@ module {
%has_runtime = sparse_tensor.has_runtime_library
scf.if %has_runtime {
// sparse_tensor.assemble copies buffers when running with the runtime
- // library. Deallocations are needed not needed when running in codgen
- // mode.
+ // library. Deallocations are not needed when running in codegen mode.
bufferization.dealloc_tensor %s0 : tensor<4x3x2xf32, #CCC>
bufferization.dealloc_tensor %s1 : tensor<4x3x2xf32, #BatchedCSR>
bufferization.dealloc_tensor %s2 : tensor<4x3x2xf32, #CSRDense>