[Mlir-commits] [mlir] [mlir][linalg] Update docs for `linalg.generic` (PR #127178)
Longsheng Mou
llvmlistbot at llvm.org
Fri Feb 14 00:20:48 PST 2025
https://github.com/CoTinker created https://github.com/llvm/llvm-project/pull/127178
The mixed tensor/buffer semantics has been disallowed in #80660. Closed #124090.
>From bf1540d9cacf981422010db8e1d25bef58d4ed3d Mon Sep 17 00:00:00 2001
From: Longsheng Mou <moulongsheng at huawei.com>
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<?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