This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] Add sparse_tensor.specifier and sparse_tensor.set_specifier.
AbandonedPublic

Authored by bixia on Feb 12 2023, 2:24 PM.

Details

Summary

This allows post-sparsification-rewriters to update sparse tensor storage
specifiers.

Diff Detail

Event Timeline

bixia created this revision.Feb 12 2023, 2:24 PM
Herald added a project: Restricted Project. · View Herald Transcript
bixia requested review of this revision.Feb 12 2023, 2:24 PM
Peiming added inline comments.Feb 13 2023, 9:51 AM
mlir/include/mlir/Dialect/SparseTensor/IR/SparseTensorOps.td
267

do you mean #COO instead of #CSR here?

291

Same here.

I prefer to come up with a solution (for the problem this solves) that does not expose this "field", which only makes sense along the direct IR codegen path....

bixia abandoned this revision.Feb 16 2023, 1:22 PM