[Mlir-commits] [mlir] ecb7f5a - [mlir][linalg] Update docs for `linalg.generic`(NFC) (#127178)

llvmlistbot at llvm.org llvmlistbot at llvm.org
Sun Feb 16 17:30:00 PST 2025


Author: Longsheng Mou
Date: 2025-02-17T09:29:56+08:00
New Revision: ecb7f5aaeed2de738a79f1bb78b2196718007176

URL: https://github.com/llvm/llvm-project/commit/ecb7f5aaeed2de738a79f1bb78b2196718007176
DIFF: https://github.com/llvm/llvm-project/commit/ecb7f5aaeed2de738a79f1bb78b2196718007176.diff

LOG: [mlir][linalg] Update docs for `linalg.generic`(NFC) (#127178)

The mixed tensor/buffer semantics has been disallowed in #80660. Closes
#124090.

Added: 
    

Modified: 
    mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td b/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
index 29cb8035b583b..6a439bfb09078 100644
--- a/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
+++ b/mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
@@ -138,19 +138,6 @@ def GenericOp : LinalgStructuredBase_Op<"generic", [
       }
     }
     ```
-
-    To allow progressive lowering from the value world (a.k.a tensor values) to
-    the buffer world (a.k.a memref values), a `linalg.generic` op allows mixing
-    tensors and buffers operands and tensor results.
-
-    ```mlir
-    %C = linalg.generic #trait_attribute
-      ins(%A, %B : tensor<?x?xf32>, memref<?x?xf32, stride_specification>)
-      outs(%C : tensor<?x?xf32>)
-      {other-optional-attributes}
-      {region}
-      -> (tensor<?x?xf32>)
-    ```
   }];
 
   let arguments = (ins Variadic<AnyType>:$inputs,


        


More information about the Mlir-commits mailing list