Users should explicitly run -buffer-results-to-out-params instead.
The purpose of this change is to remove finalizeBuffers, which made it difficult to extend the bufferization to custom buffer types.
Depends On D126252
Paths
| Differential D126253
[mlir][bufferize] Decouple promoteBufferResultsToOutParams from One-Shot Bufferize ClosedPublic Authored by springerm on May 23 2022, 4:03 PM.
Details Summary Users should explicitly run -buffer-results-to-out-params instead. The purpose of this change is to remove finalizeBuffers, which made it difficult to extend the bufferization to custom buffer types. Depends On D126252
Diff Detail
Event Timelinespringerm added a child revision: D126570: [mlir][bufferization] Add optional `copy` operand to AllocTensorOp.May 27 2022, 3:08 PM This revision is now accepted and ready to land.May 27 2022, 4:00 PM springerm added a child revision: D126813: [mlir][bufferize] Fix bug in module equivalence analysis.Jun 1 2022, 1:14 PM springerm removed a child revision: D126570: [mlir][bufferization] Add optional `copy` operand to AllocTensorOp.Jun 3 2022, 12:05 AM Closed by commit rG92680126bfcf: [mlir][bufferize] Decouple promoteBufferResultsToOutParams from One-Shot… (authored by springerm). · Explain WhyJun 9 2022, 9:29 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 431512 mlir/include/mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h
mlir/include/mlir/Dialect/Bufferization/Transforms/Bufferize.h
mlir/include/mlir/Dialect/Bufferization/Transforms/Passes.td
mlir/lib/Dialect/Bufferization/Transforms/Bufferize.cpp
mlir/lib/Dialect/Bufferization/Transforms/OneShotModuleBufferize.cpp
mlir/test/Dialect/Bufferization/Transforms/one-shot-module-bufferize-out-params.mlir
|