This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] add a sparse quantized_matmul example to integration test
ClosedPublic

Authored by aartbik on Sep 16 2021, 4:58 PM.

Details

Summary

Note that this revision adds a very tiny bit of constant folding in the
sparse compiler lattice construction. Although I am generally trying to
avoid such canonicalizations (and rely on other passes to fix this instead),
the benefits of avoiding a very expensive disjunction lattice construction
justify having this special code (at least for now).

Diff Detail

Event Timeline

aartbik created this revision.Sep 16 2021, 4:58 PM
aartbik requested review of this revision.Sep 16 2021, 4:58 PM
bixia accepted this revision.Sep 17 2021, 9:33 AM
This revision is now accepted and ready to land.Sep 17 2021, 9:33 AM
aartbik updated this revision to Diff 373273.Sep 17 2021, 10:17 AM

added a TODO on the "folding" to make sure we replace it with external general pass