[mlir][sparse] Correcting a few typos

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D110773
This commit is contained in:
wren romano 2021-09-29 15:01:35 -07:00
parent 76902079e4
commit 218954865e
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -674,7 +674,6 @@ IMPL3(addEltI32, int32_t)
IMPL3(addEltI16, int16_t)
IMPL3(addEltI8, int8_t)
#undef TEMPLATE
#undef CASE
#undef IMPL1
#undef IMPL2