diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-03-03 06:58:59 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-03-03 06:58:59 +0000 |
commit | a7fb285c60fd4a34d56ab2bdd163886180568edd (patch) | |
tree | 1b8174a471841fe713c03fa1aec496c7cec464b1 | |
parent | 23e75f5b498abc0e6024e2753f35f62df918d595 (diff) | |
download | bcm5719-llvm-a7fb285c60fd4a34d56ab2bdd163886180568edd.tar.gz bcm5719-llvm-a7fb285c60fd4a34d56ab2bdd163886180568edd.zip |
Number of NodeTypes now exceeds 128.
llvm-svn: 26503
-rw-r--r-- | llvm/include/llvm/Target/TargetLowering.h | 4 | ||||
-rw-r--r-- | llvm/lib/Target/TargetLowering.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/Target/TargetLowering.h b/llvm/include/llvm/Target/TargetLowering.h index 3fb1134c936..9a058e5969e 100644 --- a/llvm/include/llvm/Target/TargetLowering.h +++ b/llvm/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/llvm/lib/Target/TargetLowering.cpp b/llvm/lib/Target/TargetLowering.cpp index 2ba754289cd..27e9b04aaa6 100644 --- a/llvm/lib/Target/TargetLowering.cpp +++ b/llvm/lib/Target/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)); |