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

Mehdi Amini llvmlistbot at llvm.org
Wed Oct 25 20:42:58 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
----------------
joker-eph wrote:

Indeed!

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


More information about the Mlir-commits mailing list