diff options
author | David Greene <greened@obbligato.org> | 2009-06-24 22:22:02 +0000 |
---|---|---|
committer | David Greene <greened@obbligato.org> | 2009-06-24 22:22:02 +0000 |
commit | 02a6218774832508a4d1ef2998dc60f69a55729a (patch) | |
tree | 5243e8a3282ad95d75fd257529c1f5118a82f1e4 /include/llvm/CodeGen/ValueTypes.h | |
parent | 2e69310fd272b9e2cc51c03f804aeb6a829621c4 (diff) | |
download | external_llvm-02a6218774832508a4d1ef2998dc60f69a55729a.zip external_llvm-02a6218774832508a4d1ef2998dc60f69a55729a.tar.gz external_llvm-02a6218774832508a4d1ef2998dc60f69a55729a.tar.bz2 |
Increase limit for OpActions array
The OpActions array had a limit of 32 value types, so change it to use
MVT::MAX_ALLOWED_VALUETYPE in its declaration and change the accesses to
this array to work with a VT.getSimpleVT() that is larger than 32.
Also, add a comment to the place where MVT::MAX_ALLOWED_VALUETYPE is
defined indicating that it must be a multiple of 32.
This is part of the work allow MVT::LAST_VALUETYPE be greater than 32.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/ValueTypes.h')
-rw-r--r-- | include/llvm/CodeGen/ValueTypes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/ValueTypes.h b/include/llvm/CodeGen/ValueTypes.h index 8d6ae1cc..bf8b19c 100644 --- a/include/llvm/CodeGen/ValueTypes.h +++ b/include/llvm/CodeGen/ValueTypes.h @@ -76,6 +76,7 @@ namespace llvm { // This is the current maximum for LAST_VALUETYPE. // Affects ValueTypeActions in TargetLowering.h. // MVT::MAX_ALLOWED_VALUETYPE is used for asserts and to size bit vectors + // This value must be a multiple of 32. MAX_ALLOWED_VALUETYPE = 64, // iPTRAny - An int value the size of the pointer of the current |