Number of NodeTypes now exceeds 128.
authorEvan Cheng <evan.cheng@apple.com>
Fri, 3 Mar 2006 06:58:59 +0000 (06:58 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 3 Mar 2006 06:58:59 +0000 (06:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26503 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetLowering.h
lib/CodeGen/SelectionDAG/TargetLowering.cpp

index 3fb1134c936b3ef92a5b4d4dc0b705c192566bc6..9a058e5969ebeebecf5f95047583cb3a3327fce5 100644 (file)
@@ -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
index 2ba754289cd6015c311ceb4b737403ab9787f2ff..27e9b04aaa686723b0d4ab57d9ef360130da0fee 100644 (file)
@@ -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));