This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] add sparse kernels test to sparse compiler test suite
ClosedPublic

Authored by aartbik on Sep 17 2021, 1:56 PM.

Details

Summary

This test makes sure kernels map to efficient sparse code, i.e. all
compressed for-loops, no co-iterating while loops. In addition, this
revision removes the special constant folding inside the sparse
compiler in favor of Mahesh' new generic linalg folding. Thanks!

NOTE: relies on Mahesh fix, which needs to be rebased first

Diff Detail

Event Timeline

aartbik created this revision.Sep 17 2021, 1:56 PM
aartbik requested review of this revision.Sep 17 2021, 1:56 PM
bixia accepted this revision.Sep 17 2021, 2:40 PM
This revision is now accepted and ready to land.Sep 17 2021, 2:40 PM
aartbik updated this revision to Diff 374361.Sep 22 2021, 1:56 PM

rebased with main (in particular the needed folder from Mahesh)