Until now, only tensor.pad ops could be bufferized to an allocation. This revision adds support for all bufferizable ops that do not already bufferize to an allocation. (Those still need special handling.)
Depends On: D153970
Paths
| Differential D153971
[mlir][linalg] BufferizeToAllocationOp: Bufferize non-allocating ops ClosedPublic Authored by springerm on Jun 28 2023, 6:52 AM.
Details Summary Until now, only tensor.pad ops could be bufferized to an allocation. This revision adds support for all bufferizable ops that do not already bufferize to an allocation. (Those still need special handling.) Depends On: D153970
Diff Detail
Event Timelinespringerm added a parent revision: D153970: [mlir][linalg] BufferizeToAllocationOp: Bufferize ops, not values.Jun 28 2023, 6:52 AM springerm retitled this revision from [mlir][linalg] BufferizeToAllocation: Bufferize non-allocating ops to [mlir][linalg] BufferizeToAllocationOp: Bufferize non-allocating ops. springerm added a child revision: D154058: [mlir][linalg] BufferizeToAllocationOp: Support vector.mask.Jun 29 2023, 2:46 AM This revision is now accepted and ready to land.Jul 4 2023, 4:38 AM Closed by commit rG6badbd6fd3b5: [mlir][linalg] BufferizeToAllocation: Bufferize non-allocating ops (authored by springerm). · Explain WhyJul 4 2023, 5:47 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 537068 mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
mlir/lib/Dialect/Bufferization/Transforms/OneShotAnalysis.cpp
mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp
mlir/test/Dialect/Linalg/transform-op-bufferize-to-allocation.mlir
|