Skip to content

Commit

Permalink
[mlir][linalg] Update docs for linalg.generic(NFC) (llvm#127178)
Browse files Browse the repository at this point in the history
The mixed tensor/buffer semantics has been disallowed in llvm#80660. Closes
llvm#124090.
  • Loading branch information
CoTinker authored and sivan-shani committed Feb 21, 2025
1 parent 7e392bb commit 4b05312
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4b05312

Please sign in to comment.