[all-commits] [llvm/llvm-project] 942ce3: [mlir][bufferization] BufferDeallocationOpInterfac...
Martin Erhart via All-commits
all-commits at lists.llvm.org
Thu Sep 14 05:34:17 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 942ce3198591811aabac6265d3292e92f89c786a
https://github.com/llvm/llvm-project/commit/942ce3198591811aabac6265d3292e92f89c786a
Author: Martin Erhart <merhart at google.com>
Date: 2023-09-14 (Thu, 14 Sep 2023)
Changed paths:
A mlir/include/mlir/Dialect/Arith/Transforms/BufferDeallocationOpInterfaceImpl.h
M mlir/include/mlir/Dialect/Bufferization/IR/BufferDeallocationOpInterface.h
M mlir/include/mlir/Dialect/Bufferization/IR/BufferDeallocationOpInterface.td
M mlir/include/mlir/InitAllDialects.h
A mlir/lib/Dialect/Arith/Transforms/BufferDeallocationOpInterfaceImpl.cpp
M mlir/lib/Dialect/Arith/Transforms/CMakeLists.txt
M mlir/lib/Dialect/Bufferization/IR/BufferDeallocationOpInterface.cpp
M mlir/lib/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation.cpp
M mlir/test/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation/dealloc-callop-interface.mlir
Log Message:
-----------
[mlir][bufferization] BufferDeallocationOpInterface: support custom ownership update logic (#66350)
Add a method to the BufferDeallocationOpInterface that allows operations to implement the interface and provide custom logic to compute the ownership indicators of values it defines. As a demonstrating example, this new method is implemented by the `arith.select` operation.
More information about the All-commits
mailing list