diff options
| author | wren romano <2998727+wrengr@users.noreply.github.com> | 2021-09-29 15:01:35 -0700 |
|---|---|---|
| committer | wren romano <2998727+wrengr@users.noreply.github.com> | 2021-09-30 11:42:46 -0700 |
| commit | 218954865ebee18d3d3f119a8579b9c1a6396c0b (patch) | |
| tree | 216a0177747f9e7255520f198c2e3eec9695bc40 /mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp | |
| parent | 76902079e42958118f01b4550d68a9b54c9e8e7e (diff) | |
[mlir][sparse] Correcting a few typos
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D110773
Diffstat (limited to 'mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp')
| -rw-r--r-- | mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp b/mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp index 681c8160aaea..cd6fea535592 100644 --- a/mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp +++ b/mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp @@ -1,4 +1,4 @@ -//===- SparseTensorLowering.cpp - Sparse tensor primitives conversion -----===// +//===- SparseTensorConversion.cpp - Sparse tensor primitives conversion ---===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -363,7 +363,7 @@ class SparseTensorConvertConverter : public OpConversionPattern<ConvertOp> { auto encSrc = getSparseTensorEncoding(op.source().getType()); if (encDst && encSrc) { // This is a sparse => sparse conversion, which is handled as follows: - // t = src->asCOO(); ; src to COO in dst order + // t = src->toCOO(); ; src to COO in dst order // dst = newSparseTensor(t) // Using the coordinate scheme as an intermediate does not always // yield the fastest conversion but avoids the need for a full |
