[Mlir-commits] [mlir] [mlir][doc] Improve Destination-passing-style documentation (PR #70283)

Matthias Springer llvmlistbot at llvm.org
Wed Oct 25 20:34:16 PDT 2023


================
@@ -101,26 +101,45 @@ bufferization strategy would be unacceptable for high-performance codegen. When
 choosing an already existing buffer, we must be careful not to accidentally
 overwrite data that is still needed later in the program.
 
-To simplify this problem, One-Shot Bufferize was designed for ops that are in
-*destination-passing style*. For every tensor result, such ops have a tensor
-operand, whose buffer could be utilized for storing the result of the op in the
-absence of other conflicts. We call such tensor operands the *destination*.
+To simplify this problem, One-Shot Bufferize was designed to take advantage of
----------------
matthias-springer wrote:

I think we don't current generate web docs for this, but we could like to this: https://github.com/llvm/llvm-project/blob/main/mlir/include/mlir/Interfaces/DestinationStyleOpInterface.td


https://github.com/llvm/llvm-project/pull/70283


More information about the Mlir-commits mailing list