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
Paths
| Differential D125636
[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 TimelineThis revision is now accepted and ready to land.May 23 2022, 3:43 AM This revision was landed with ongoing or failed builds.May 23 2022, 9:47 AM Closed by commit rG598c5ddba6b0: [mlir][bufferize] Support fully dynamic layout maps in BufferResultsToOutParams (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 429546 mlir/lib/Dialect/Bufferization/Transforms/BufferResultsToOutParams.cpp
mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize-out-params.mlir
|
Nit: curly braces because it is inside another if statement with curly braces.