[Mlir-commits] [mlir] 21db1e3 - [mlir][docs] remove stale statement about index type in vectors
Tobias Gysi
llvmlistbot at llvm.org
Fri May 7 12:29:27 PDT 2021
Author: Emilio Cota
Date: 2021-05-07T19:25:17Z
New Revision: 21db1e3b01402678994a291930eadf82187750c4
URL: https://github.com/llvm/llvm-project/commit/21db1e3b01402678994a291930eadf82187750c4
DIFF: https://github.com/llvm/llvm-project/commit/21db1e3b01402678994a291930eadf82187750c4.diff
LOG: [mlir][docs] remove stale statement about index type in vectors
b614ada0e8 ("[mlir] add support for index type in vectors.") removed
this limitation.
Differential Revision: https://reviews.llvm.org/D102081
Added:
Modified:
mlir/include/mlir/IR/BuiltinTypes.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/IR/BuiltinTypes.td b/mlir/include/mlir/IR/BuiltinTypes.td
index 16afcfdfd00a..15176cba309c 100644
--- a/mlir/include/mlir/IR/BuiltinTypes.td
+++ b/mlir/include/mlir/IR/BuiltinTypes.td
@@ -170,8 +170,7 @@ def Builtin_Index : Builtin_Type<"Index"> {
The index type is a signless integer whose size is equal to the natural
machine word of the target ( [rationale](https://mlir.llvm.org/docs/Rationale/Rationale/#integer-signedness-semantics) )
- and is used by the affine constructs in MLIR. Unlike fixed-size integers,
- it cannot be used as an element of vector ( [rationale](https://mlir.llvm.org/docs/Rationale/Rationale/#index-type-disallowed-in-vector-types) ).
+ and is used by the affine constructs in MLIR.
**Rationale:** integers of platform-specific bit widths are practical to
express sizes, dimensionalities and subscripts.
More information about the Mlir-commits
mailing list