This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] BufferizeToAllocationOp: Add option to materialize buffers for operands
ClosedPublic

Authored by springerm on Jul 21 2023, 5:22 AM.

Details

Summary

Add an option that does not bufferize the targeted op itself, but just materializes a buffer for the destination operands. This is useful for partial bufferization of complex ops such as scf.forall, which need special handling (and an analysis if the region).

Diff Detail

Event Timeline

springerm created this revision.Jul 21 2023, 5:22 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 21 2023, 5:22 AM
springerm requested review of this revision.Jul 21 2023, 5:22 AM
nicolasvasilache accepted this revision.Jul 21 2023, 6:26 AM
This revision is now accepted and ready to land.Jul 21 2023, 6:26 AM
This revision was landed with ongoing or failed builds.Jul 21 2023, 6:35 AM
This revision was automatically updated to reflect the committed changes.