aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2006-03-03 06:58:59 +0000
committerEvan Cheng <evan.cheng@apple.com>2006-03-03 06:58:59 +0000
commit33143dce15c0dc4155ff4cf2e375a9a59c8a5d61 (patch)
treec0719c03a3e4a51553bf65f8958be2c5fd66403a
parentbfa284f69752c54f81bffc2b0d15d5c1e618a659 (diff)
Number of NodeTypes now exceeds 128.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26503 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetLowering.h4
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h
index 3fb1134c93..9a058e5969 100644
--- a/include/llvm/Target/TargetLowering.h
+++ b/include/llvm/Target/TargetLowering.h
@@ -642,7 +642,7 @@ private:
/// Most operations are Legal (aka, supported natively by the target), but
/// operations that are not should be described. Note that operations on
/// non-legal value types are not described here.
- uint64_t OpActions[128];
+ uint64_t OpActions[156];
ValueTypeActionImpl ValueTypeActions;
@@ -654,7 +654,7 @@ 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[128/(sizeof(unsigned char)*8)];
+ unsigned char TargetDAGCombineArray[156/(sizeof(unsigned char)*8)];
protected:
/// When lowering %llvm.memset this field specifies the maximum number of
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index 2ba754289c..27e9b04aaa 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -21,7 +21,7 @@ using namespace llvm;
TargetLowering::TargetLowering(TargetMachine &tm)
: TM(tm), TD(TM.getTargetData()) {
- assert(ISD::BUILTIN_OP_END <= 128 &&
+ assert(ISD::BUILTIN_OP_END <= 156 &&
"Fixed size array in TargetLowering is not large enough!");
// All operations default to being supported.
memset(OpActions, 0, sizeof(OpActions));