The bufferize_to_allocation transform op now operates on payload ops, not payload values. Only ops can be bufferized, not values.
Also remove the replacement result from the transform op.
Depends On: D153874
Paths
| Differential D153970
[mlir][linalg] BufferizeToAllocationOp: Bufferize ops, not values ClosedPublic Authored by springerm on Jun 28 2023, 6:49 AM.
Details Summary The bufferize_to_allocation transform op now operates on payload ops, not payload values. Only ops can be bufferized, not values. Also remove the replacement result from the transform op. Depends On: D153874
Diff Detail
Event Timelinespringerm added a parent revision: D153874: [mlir][linalg] Do not emit FillOp for tensor.pad with zero padding.Jun 28 2023, 6:49 AM This revision is now accepted and ready to land.Jul 4 2023, 4:38 AM Closed by commit rG335ada609963: [mlir][linalg] BufferizeToAllocationOp: Bufferize ops, not values (authored by springerm). · Explain WhyJul 4 2023, 5:39 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 537066 mlir/include/mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td
mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
mlir/lib/Dialect/Linalg/TransformOps/LinalgTransformOps.cpp
mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp
mlir/test/Dialect/Linalg/pad-to-specific-memory-space.mlir
mlir/test/Dialect/Linalg/transform-op-bufferize-to-allocation.mlir
|