This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] enhance element-wise fusion heuristics
ClosedPublic

Authored by aartbik on Jun 15 2023, 2:14 PM.

Details

Summary

We prevent merging a sparse-in/dense-out with dense-in
kernels because the result is usuall not sparsifiable.
Dense kernels and sparse kernels are still fused, obviously.

Diff Detail

Event Timeline

aartbik created this revision.Jun 15 2023, 2:14 PM
Herald added a project: Restricted Project. · View Herald Transcript
aartbik requested review of this revision.Jun 15 2023, 2:14 PM
Peiming accepted this revision.Jun 15 2023, 4:11 PM
This revision is now accepted and ready to land.Jun 15 2023, 4:11 PM
This revision was automatically updated to reflect the committed changes.