[Mlir-commits] [mlir] [mlir][bufferization] Add OwnershipBasedBufferDeallocation pass option to forbid clones (PR #66626)
Martin Erhart
llvmlistbot at llvm.org
Wed Sep 27 00:33:19 PDT 2023
================
@@ -56,7 +56,7 @@ def BufferDeallocationOpInterface :
method (which is especially important if operations are created that
cannot be easily canonicalized away anymore).
}],
- /*retType=*/"std::pair<Value, Value>",
+ /*retType=*/"FailureOr<std::pair<Value, Value>>",
----------------
maerhart wrote:
I changes the way ownership indicators are materialized in the default case when internal ownership is set to 'Unknown' such that we don't need to return a failure anymore
https://github.com/llvm/llvm-project/pull/66626
More information about the Mlir-commits
mailing list