[Mlir-commits] [mlir] d02e12f - [mlir][sparse] fix typos

Aart Bik llvmlistbot at llvm.org
Tue Sep 7 14:20:16 PDT 2021


Author: Aart Bik
Date: 2021-09-07T14:20:05-07:00
New Revision: d02e12fadffdd045edfb2885ff9ff105ada3acc8

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

LOG: [mlir][sparse] fix typos

Perhaps one of these days I will actually learn how to spell opaque....

Reviewed By: bixia

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

Added: 
    

Modified: 
    mlir/lib/ExecutionEngine/SparseUtils.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/ExecutionEngine/SparseUtils.cpp b/mlir/lib/ExecutionEngine/SparseUtils.cpp
index 434f9cf4ed92e..20b8da5c71b16 100644
--- a/mlir/lib/ExecutionEngine/SparseUtils.cpp
+++ b/mlir/lib/ExecutionEngine/SparseUtils.cpp
@@ -60,7 +60,7 @@
 //      to interact with MLIR compiler-generated code.
 //
 // In both cases (I) and (II), the SparseTensorStorage format is externally
-// only visible as an opague pointer.
+// only visible as an opaque pointer.
 //
 //===----------------------------------------------------------------------===//
 
@@ -739,7 +739,7 @@ void *convertToMLIRSparseTensor(uint64_t rank, uint64_t nse, uint64_t *shape,
     tensor->add(idx, values[i]);
     base += rank;
   }
-  // Return sparse tensor storage format as opague pointer.
+  // Return sparse tensor storage format as opaque pointer.
   return SparseTensorStorage<uint64_t, uint64_t, double>::newSparseTensor(
       tensor, sparse.data(), perm.data());
 }


        


More information about the Mlir-commits mailing list