This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferize] Support fully dynamic layout maps in BufferResultsToOutParams
ClosedPublic

Authored by springerm on May 15 2022, 10:17 AM.

Details

Summary

Also fixes integration of the pass into One-Shot Bufferize and adds additional test cases.

BufferResultsToOutParams can be used with "identity-layout-map" and "fully-dynamic-layout-map". "infer-layout-map" is not supported.

Depends On D125615

Diff Detail

Event Timeline

springerm created this revision.May 15 2022, 10:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 15 2022, 10:17 AM
springerm requested review of this revision.May 15 2022, 10:18 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 15 2022, 10:18 AM
tpopp accepted this revision.May 23 2022, 3:43 AM
tpopp added inline comments.
mlir/lib/Dialect/Bufferization/Transforms/BufferResultsToOutParams.cpp
53

Nit: curly braces because it is inside another if statement with curly braces.

This revision is now accepted and ready to land.May 23 2022, 3:43 AM
springerm updated this revision to Diff 431405.May 23 2022, 9:37 AM

address comments

springerm marked an inline comment as done.May 23 2022, 9:37 AM
This revision was landed with ongoing or failed builds.May 23 2022, 9:47 AM
This revision was automatically updated to reflect the committed changes.