Skip to content

Commit

Permalink
[1/11][Clang][Type] Expand BuiltinTypeBits from 8 to 9 bits
Browse files Browse the repository at this point in the history
This patch-set aims to expand all variants of the RVV segment
load/store intrinsics. The first commit expands the limitation of
builtin types from 256 to 512. The following patches expands the
full variants one-by-one.

The next patch introduces a number of new RVV tuple types and lets the
total of builtin types exceed the current limit (256). This patch
attempts to increase the bits used so we can continue to expand new
builtin types.

Reviewed By: erichkeane

Differential Revision: https://reviews.llvm.org/D152069
  • Loading branch information
eopXD committed Jun 8, 2023
1 parent 8feb842 commit bf87fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/include/clang/AST/Type.h
Original file line number Diff line number Diff line change
Expand Up @@ -1649,7 +1649,7 @@ class alignas(8) Type : public ExtQualsTypeCommonBase {
unsigned : NumTypeBits;

/// The kind (BuiltinType::Kind) of builtin type this is.
static constexpr unsigned NumOfBuiltinTypeBits = 8;
static constexpr unsigned NumOfBuiltinTypeBits = 9;
unsigned Kind : NumOfBuiltinTypeBits;
};

Expand Down

0 comments on commit bf87fcb

Please sign in to comment.