This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] skip sparsification for unannotated (or unhandled) cases
ClosedPublic

Authored by aartbik on May 19 2021, 10:51 AM.

Details

Summary

Skip the sparsification pass for Linalg ops without annotated tensors
(or cases that are not properly handled yet).

Diff Detail

Event Timeline

aartbik created this revision.May 19 2021, 10:51 AM
aartbik requested review of this revision.May 19 2021, 10:51 AM
bixia accepted this revision.May 19 2021, 12:53 PM

Shall we add tests to check that we skip certain cases? Rather than this, it looks good to me.

This revision is now accepted and ready to land.May 19 2021, 12:53 PM

Shall we add tests to check that we skip certain cases? Rather than this, it looks good to me.

Thanks!

I am actually already working on accepting the cases, but just wanted to make sure external projects are not confused until that time ;-)