From 21db1e3b01402678994a291930eadf82187750c4 Mon Sep 17 00:00:00 2001 From: Emilio Cota Date: Fri, 7 May 2021 19:23:01 +0000 Subject: [PATCH] [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 --- mlir/include/mlir/IR/BuiltinTypes.td | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mlir/include/mlir/IR/BuiltinTypes.td b/mlir/include/mlir/IR/BuiltinTypes.td index 16afcfd..15176cb 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. -- 2.7.4