Skip to content

Commit 2189548

Browse files
committed
[mlir][sparse] Correcting a few typos
Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D110773
1 parent 7690207 commit 2189548

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorConversion.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//===- SparseTensorLowering.cpp - Sparse tensor primitives conversion -----===//
1+
//===- SparseTensorConversion.cpp - Sparse tensor primitives conversion ---===//
22
//
33
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
44
// See https://llvm.org/LICENSE.txt for license information.
@@ -363,7 +363,7 @@ class SparseTensorConvertConverter : public OpConversionPattern<ConvertOp> {
363363
auto encSrc = getSparseTensorEncoding(op.source().getType());
364364
if (encDst && encSrc) {
365365
// This is a sparse => sparse conversion, which is handled as follows:
366-
// t = src->asCOO(); ; src to COO in dst order
366+
// t = src->toCOO(); ; src to COO in dst order
367367
// dst = newSparseTensor(t)
368368
// Using the coordinate scheme as an intermediate does not always
369369
// yield the fastest conversion but avoids the need for a full

mlir/lib/ExecutionEngine/SparseUtils.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,6 @@ IMPL3(addEltI32, int32_t)
674674
IMPL3(addEltI16, int16_t)
675675
IMPL3(addEltI8, int8_t)
676676

677-
#undef TEMPLATE
678677
#undef CASE
679678
#undef IMPL1
680679
#undef IMPL2

0 commit comments

Comments
 (0)