Instead of partial bufferization, this op now emits a bufferization.alloc_tensor op with a region. This allows for better code reuse within the bufferization infrastructure.
Depends On: D144396
Paths
| Differential D144397
[mlir][linalg] Revamp structured.bufferize_to_allocation AbandonedPublic Authored by springerm on Feb 20 2023, 7:35 AM.
Details
Summary Instead of partial bufferization, this op now emits a bufferization.alloc_tensor op with a region. This allows for better code reuse within the bufferization infrastructure. Depends On: D144396
Diff Detail
Event Timelinespringerm mentioned this in D144409: [mlir][transform] Add transform.get_defining_op op.Feb 20 2023, 8:57 AM springerm removed a child revision: D144401: [mlir][bufferization] Add bufferization.eliminate_empty_tensors transform op.
Revision Contents
Diff 498851 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/transform-op-bufferize-to-allocation.mlir
|