[all-commits] [llvm/llvm-project] b76a18: [mlir][linalg] Fix bufferize_to_allocation error c...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Mon Sep 4 04:22:19 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b76a180d3b1db1e5ad6fdddfdef0d01788a6a0da
https://github.com/llvm/llvm-project/commit/b76a180d3b1db1e5ad6fdddfdef0d01788a6a0da
Author: Matthias Springer <me at m-sp.org>
Date: 2023-09-04 (Mon, 04 Sep 2023)
Changed paths:
M mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp
M mlir/test/Dialect/Linalg/transform-op-bufferize-to-allocation.mlir
Log Message:
-----------
[mlir][linalg] Fix bufferize_to_allocation error checking
`bufferize_to_allocation` does not supports ops with regions, unless `bufferize_destination_only` is set. In that case, only the operand is replaced with an allocation and wrapped in a `to_tensor` op. The error checking was too strict.
Differential Revision: https://reviews.llvm.org/D159420
More information about the All-commits
mailing list