This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] refactored codegen environment into its own file
ClosedPublic

Authored by aartbik on Dec 20 2022, 4:26 PM.

Details

Summary

Also, as a proof of concept, all functionality related to reductions
has been refactored into private fields and a clean public API. As a
result, some dead code was found as well. This approach also simplifies
asserting on a proper environment state for each call.

NOTE: making all other fields private and migrating more methods into this new class is still TBD in yes another next revision!

Diff Detail

Event Timeline

aartbik created this revision.Dec 20 2022, 4:26 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 20 2022, 4:26 PM
aartbik requested review of this revision.Dec 20 2022, 4:26 PM
Peiming accepted this revision.Dec 20 2022, 4:49 PM
This revision is now accepted and ready to land.Dec 20 2022, 4:49 PM
This revision was landed with ongoing or failed builds.Dec 20 2022, 4:59 PM
This revision was automatically updated to reflect the committed changes.