This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] unconditionally use IndexType for sparse_tensor.specifier
ClosedPublic

Authored by Peiming on Feb 22 2023, 10:46 AM.

Diff Detail

Event Timeline

Peiming created this revision.Feb 22 2023, 10:46 AM
Herald added a reviewer: aartbik. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Peiming requested review of this revision.Feb 22 2023, 10:46 AM
aartbik added inline comments.Feb 22 2023, 10:56 AM
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
377

this should be to index now, but even better, I think you can leave the "to" out of the assembly part since it is fixed now?

403

same, update the example, and perhaps even remove the dump

mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
574–578

I would not say "let's" as an active decision, but simply what we do ;-)

Peiming updated this revision to Diff 499594.Feb 22 2023, 11:16 AM
Peiming marked 2 inline comments as done.

address comments.

Peiming updated this revision to Diff 499597.Feb 22 2023, 11:17 AM

fix comments.

Peiming marked an inline comment as done.Feb 22 2023, 11:17 AM
aartbik accepted this revision.Feb 22 2023, 11:43 AM
This revision is now accepted and ready to land.Feb 22 2023, 11:43 AM
This revision was landed with ongoing or failed builds.Feb 22 2023, 12:21 PM
This revision was automatically updated to reflect the committed changes.