1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Make OpActionsCapacity multiple of 4.

llvm-svn: 50917
This commit is contained in:
Evan Cheng 2008-05-09 21:50:23 +00:00
parent 09a45f2ca3
commit f87942325f

View File

@ -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