Skip to content

Commit ecb7f5a

Browse files
authored
[mlir][linalg] Update docs for linalg.generic(NFC) (#127178)
The mixed tensor/buffer semantics has been disallowed in #80660. Closes #124090.
1 parent a7a0208 commit ecb7f5a

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

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

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -138,19 +138,6 @@ def GenericOp : LinalgStructuredBase_Op<"generic", [
138138
}
139139
}
140140
```
141-
142-
To allow progressive lowering from the value world (a.k.a tensor values) to
143-
the buffer world (a.k.a memref values), a `linalg.generic` op allows mixing
144-
tensors and buffers operands and tensor results.
145-
146-
```mlir
147-
%C = linalg.generic #trait_attribute
148-
ins(%A, %B : tensor<?x?xf32>, memref<?x?xf32, stride_specification>)
149-
outs(%C : tensor<?x?xf32>)
150-
{other-optional-attributes}
151-
{region}
152-
-> (tensor<?x?xf32>)
153-
```
154141
}];
155142

156143
let arguments = (ins Variadic<AnyType>:$inputs,

0 commit comments

Comments
 (0)