Author: eopXD Date: 2023-06-08T09:41:32-07:00 New Revision: bf87fcb799aacb426a92f7fc643da2dc2b3fa82d
URL: https://github.com/llvm/llvm-project/commit/bf87fcb799aacb426a92f7fc643da2dc2b3fa82d DIFF: https://github.com/llvm/llvm-project/commit/bf87fcb799aacb426a92f7fc643da2dc2b3fa82d.diff LOG: [1/11][Clang][Type] Expand BuiltinTypeBits from 8 to 9 bits 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 Added: Modified: clang/include/clang/AST/Type.h Removed: ################################################################################ diff --git a/clang/include/clang/AST/Type.h b/clang/include/clang/AST/Type.h index 49ea77429e7a1..8261d1c3a9685 100644 --- a/clang/include/clang/AST/Type.h +++ b/clang/include/clang/AST/Type.h @@ -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; }; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits