Changes in directory llvm/lib/CodeGen/SelectionDAG:
LegalizeDAG.cpp updated: 1.215 -> 1.216 --- Log message: Add the majority of the vector machien value types we expect to support, and make a few changes to the legalization machinery to support more than 16 types. --- Diffs of the changes: (+2 -2) LegalizeDAG.cpp | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp diff -u llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.215 llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.216 --- llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:1.215 Tue Nov 22 12:16:00 2005 +++ llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Mon Nov 28 23:45:29 2005 @@ -52,7 +52,7 @@ /// ValueTypeActions - This is a bitvector that contains two bits for each /// value type, where the two bits correspond to the LegalizeAction enum. /// This can be queried with "getTypeAction(VT)". - unsigned ValueTypeActions; + unsigned long long ValueTypeActions; /// NeedsAnotherIteration - This is set when we expand a large integer /// operation into smaller integer operations, but the smaller operations are @@ -161,7 +161,7 @@ SelectionDAGLegalize::SelectionDAGLegalize(SelectionDAG &dag) : TLI(dag.getTargetLoweringInfo()), DAG(dag), ValueTypeActions(TLI.getValueTypeActions()) { - assert(MVT::LAST_VALUETYPE <= 16 && + assert(MVT::LAST_VALUETYPE <= 32 && "Too many value types for ValueTypeActions to hold!"); } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits