This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse][bufferization] cleanup bufferization attributes after SparsificationAndBufferizationPass
ClosedPublic

Authored by Peiming on Dec 2 2022, 12:02 PM.

Diff Detail

Event Timeline

Peiming created this revision.Dec 2 2022, 12:02 PM
Herald added a project: Restricted Project. · View Herald Transcript
Peiming requested review of this revision.Dec 2 2022, 12:02 PM
aartbik accepted this revision.Dec 2 2022, 12:07 PM

LGTM, but please wait for Matthias to chime in

This revision is now accepted and ready to land.Dec 2 2022, 12:07 PM
springerm accepted this revision.Dec 2 2022, 12:39 PM
springerm added inline comments.
mlir/lib/Dialect/Bufferization/Transforms/BufferUtils.cpp
202–220 ↗(On Diff #479706)

Makes sense to call these from SparsificationAndBufferizationPass but ideally these should be in OneShotModuleBufferize.cpp and OneShotModuleBufferize.h. These attributes are needed only for module bufferization.

Peiming updated this revision to Diff 479755.Dec 2 2022, 3:01 PM

address comments.

This revision was landed with ongoing or failed builds.Dec 2 2022, 3:03 PM
This revision was automatically updated to reflect the committed changes.