[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:40 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>>",
----------------
matthias-springer wrote:
When does this function return "failure" and what does it mean. Should be mentioned in the description.
https://github.com/llvm/llvm-project/pull/66626
More information about the llvm-commits
mailing list