[Mlir-commits] [mlir] ef244ad - [mlir][sparse] fixed typos

Aart Bik llvmlistbot at llvm.org
Tue Dec 14 08:33:14 PST 2021


Author: Aart Bik
Date: 2021-12-14T08:33:06-08:00
New Revision: ef244ad6207b1f20ecc6f989720bbc46f5e6a3f2

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

LOG: [mlir][sparse] fixed typos

Reviewed By: bixia

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

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td
    mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td
index 13a89b2f91635..4aa2b89128c55 100644
--- a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td
+++ b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorBase.td
@@ -50,7 +50,7 @@ def SparseTensor_Dialect : Dialect {
     relatively straightforward one-to-one mapping from iteration lattices
     to combinations of for-loops, while-loops, and if-statements. Sparse
     tensor outputs that materialize uninitialized are handled with
-    insertions in pure lexicograph index order if all parallel loops
+    insertions in pure lexicographical index order if all parallel loops
     are outermost or using a 1-dimensional access pattern expansion
     (a.k.a. workspace) where feasible [Gustavson72,Bik96,Kjolstad19].
 

diff  --git a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
index 9c27ae9d41ab6..292fc072e1af9 100644
--- a/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
+++ b/mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
@@ -197,12 +197,12 @@ def SparseTensor_LexInsertOp : SparseTensor_Op<"lex_insert", []>,
     Arguments<(ins AnyTensor:$tensor,
                StridedMemRefRankOf<[Index], [1]>:$indices,
                AnyType:$value)> {
-  string summary = "Inserts a value into given sparse tensor in lexicograph index order";
+  string summary = "Inserts a value into given sparse tensor in lexicographical index order";
   string description = [{
     Inserts the given value at given indices into the underlying sparse
     storage format of the given tensor with the given indices. This
     operation can only be applied when a tensor materializes unintialized
-    with an `init` operation, the insertions occur in strict lexicographic
+    with an `init` operation, the insertions occur in strict lexicographical
     index order, and the final tensor is constructed with a `tensor`
     operation that has the `hasInserts` attribute set.
 


        


More information about the Mlir-commits mailing list