[llvm] [mlir][bufferization] Add OwnershipBasedBufferDeallocation pass option to forbid clones (PR #66626)
Matthias Springer via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 20 03:08:39 PDT 2023
================
@@ -134,8 +135,9 @@ func::FuncOp buildDeallocationLibraryFunction(OpBuilder &builder, Location loc,
LogicalResult deallocateBuffers(Operation *op);
/// Run ownership basedbuffer deallocation.
-LogicalResult deallocateBuffersOwnershipBased(FunctionOpInterface op,
- bool privateFuncDynamicOwnership);
+LogicalResult deallocateBuffersOwnershipBased(
+ FunctionOpInterface op,
+ const DeallocationOptions &options = DeallocationOptions());
----------------
matthias-springer wrote:
Maybe double check, but I think default values should not be bound to const references.
https://github.com/llvm/llvm-project/pull/66626
More information about the llvm-commits
mailing list