This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg][bufferize] Move more helper functions/structs to interface
ClosedPublic

Authored by springerm on Nov 8 2021, 1:00 AM.

Details

Summary

Move helper functions for traversing reverse use-def chains. These are useful for implementing custom optimizations (e.g., custom InitTensorOp eliminations).

Also move over the AllocationCallbacks struct. This is in preparation for decoupling ComprehensiveBufferize from various dialects.

Depends On D113385

Diff Detail

Event Timeline

springerm created this revision.Nov 8 2021, 1:00 AM
springerm requested review of this revision.Nov 8 2021, 1:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 8 2021, 1:00 AM
This revision is now accepted and ready to land.Nov 10 2021, 12:24 AM
This revision was landed with ongoing or failed builds.Nov 10 2021, 9:16 PM
This revision was automatically updated to reflect the committed changes.