diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-05-09 21:50:23 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-05-09 21:50:23 +0000 |
commit | c6c6a3e2b3ffa580cb84d75a2c60a961977e40d1 (patch) | |
tree | a5c268375850cb9d8cece2c35f0cb4920b3cdb04 | |
parent | 6ae83faadf715c398e637424a764f6b02f0b6df2 (diff) | |
download | external_llvm-c6c6a3e2b3ffa580cb84d75a2c60a961977e40d1.zip external_llvm-c6c6a3e2b3ffa580cb84d75a2c60a961977e40d1.tar.gz external_llvm-c6c6a3e2b3ffa580cb84d75a2c60a961977e40d1.tar.bz2 |
Make OpActionsCapacity multiple of 4.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50917 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Target/TargetLowering.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 0b8dda8..b6f10bb 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -1341,7 +1341,7 @@ private: MVT::ValueType TransformToType[MVT::LAST_VALUETYPE]; // Defines the capacity of the TargetLowering::OpActions table - static const int OpActionsCapacity = 173; + static const int OpActionsCapacity = 176; /// OpActions - For each operation and each value type, keep a LegalizeAction /// that indicates how instruction selection should deal with the operation. @@ -1381,7 +1381,8 @@ private: /// TargetDAGCombineArray - Targets can specify ISD nodes that they would /// like PerformDAGCombine callbacks for by calling setTargetDAGCombine(), /// which sets a bit in this array. - unsigned char TargetDAGCombineArray[168/(sizeof(unsigned char)*8)]; + unsigned char + TargetDAGCombineArray[OpActionsCapacity/(sizeof(unsigned char)*8)]; /// PromoteToType - For operations that must be promoted to a specific type, /// this holds the destination type. This map should be sparse, so don't hold |