[Mlir-commits] [mlir] [mlir][bufferization] Empty tensor elimination based on SubsetOpInterface (PR #65766)

Matthias Springer llvmlistbot at llvm.org
Tue Sep 12 05:22:36 PDT 2023


================
@@ -109,19 +109,17 @@ def EliminateEmptyTensorsOp
          DeclareOpInterfaceMethods<MemoryEffectsOpInterface>]> {
   let description = [{
     Try to eliminate all `tensor.empty` ops within the targeted op by replacing
-    them with a destination tensor.
+    them with another destination tensor.
 
-    `tensor.empty` ops cannot be bufferizes. They can either be converted to
-    `bufferization.alloc_tensor` or replaced with another tensor (via this
-    transform). `tensor.empty` does not specify the contents of the returned
+    "tensor.empty" ops cannot be bufferized. They can either be converted to
+    "bufferization.alloc_tensor" or replaced with another tensor (via this
+    transform). "tensor.empty" does not specify the contents of the returned
----------------
matthias-springer wrote:

I think backticks are used when referring to function/variable names only.


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


More information about the Mlir-commits mailing list