From bf1540d9cacf981422010db8e1d25bef58d4ed3d Mon Sep 17 00:00:00 2001 From: Longsheng Mou Date: Fri, 14 Feb 2025 16:19:11 +0800 Subject: [PATCH] [mlir][linalg] Update docs for `linalg.generic` The mixed tensor/buffer semantics has been disallowed in #80660. --- .../mlir/Dialect/Linalg/IR/LinalgStructuredOps.td | 13 ------------- 1 file changed, 13 deletions(-) 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, memref) - outs(%C : tensor) - {other-optional-attributes} - {region} - -> (tensor) - ``` }]; let arguments = (ins Variadic:$inputs,