[Mlir-commits] [mlir] [mlir][bufferization] Slightly clarify dest-passing docs (PR #70212)

Mehdi Amini llvmlistbot at llvm.org
Wed Oct 25 13:48:10 PDT 2023


================
@@ -131,10 +131,10 @@ memory allocation. E.g.:
 } : tensor<?xf32>
 ```
 
-The result of `tensor.generate` does not have a "destination", so bufferization
-allocates a new buffer. This could be avoided by choosing an op such as
-`linalg.generic`, which can express the same computation with a destination
-("out") tensor:
+The result of `tensor.generate` does not have a destination operand, so
+bufferization allocates a new buffer. This could be avoided by choosing an
+op such as `linalg.generic`, which can express the same computation with a
+destination operand, as specified behind outputs (`outs`):
----------------
joker-eph wrote:

I actually don't think this sentence is correct, but I should probably rewrite the entire first part of the doc separately.

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


More information about the Mlir-commits mailing list