[mlir][linalg] BufferizeToAllocationOp: Bufferize ops, not values
authorMatthias Springer <me@m-sp.org>
Tue, 4 Jul 2023 12:34:00 +0000 (14:34 +0200)
committerMatthias Springer <me@m-sp.org>
Tue, 4 Jul 2023 12:35:13 +0000 (14:35 +0200)
commit335ada609963fd7fc81b21bbaff2a202e1070d5b
treed24e059d657b543f09d799be01a212abf8fad686
parent2444fb96435ecae73211f3ced3d06e48719afe97
[mlir][linalg] BufferizeToAllocationOp: Bufferize ops, not values

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.

Differential Revision: https://reviews.llvm.org/D153970
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