[llvm] [MVT] Expand the MVT enum to allow more types (PR #69603)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 19 06:23:30 PDT 2023
================
@@ -48,8 +48,8 @@ namespace llvm {
// This is the current maximum for LAST_VALUETYPE.
// MVT::MAX_ALLOWED_VALUETYPE is used for asserts and to size bit vectors
- // This value must be a multiple of 32.
- MAX_ALLOWED_VALUETYPE = 224,
+ // This value must be a multiple of 64.
+ MAX_ALLOWED_VALUETYPE = 64 * ((VALUETYPE_SIZE + 63) / 64),
----------------
jayfoad wrote:
I really don't see the point of defining this here. It should be local to its only significant use in CodeGenDAGPatterns.
https://github.com/llvm/llvm-project/pull/69603
More information about the llvm-commits
mailing list