[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
This commit is contained in:
Aart Bik 2021-09-07 13:41:14 -07:00
parent 2bf8be79b1
commit d02e12fadf

View file

@ -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());
}