This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] Add rewriting rules for concatente using foreach operator.
ClosedPublic

Authored by Peiming on Sep 29 2022, 11:12 AM.

Diff Detail

Event Timeline

Peiming created this revision.Sep 29 2022, 11:12 AM
Herald added a project: Restricted Project. · View Herald Transcript
Peiming requested review of this revision.Sep 29 2022, 11:13 AM
Peiming updated this revision to Diff 463971.Sep 29 2022, 11:15 AM

remove trailing whitespace

aartbik accepted this revision.Sep 29 2022, 11:36 AM
aartbik added inline comments.
mlir/lib/Dialect/SparseTensor/IR/SparseTensorDialect.cpp
602

bodyBuilder: I love the name!

mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorRewriting.cpp
114

Maybe give it a comment, can be as simple as

// Helper that sets up a n-dim COO tensor type.

367

typo: Accumulates

367

inputs are allowed (plural inputs)

This revision is now accepted and ready to land.Sep 29 2022, 11:36 AM
Peiming updated this revision to Diff 463980.Sep 29 2022, 11:48 AM
Peiming marked 3 inline comments as done.

address comments.

This revision was landed with ongoing or failed builds.Sep 30 2022, 2:57 PM
This revision was automatically updated to reflect the committed changes.