Increase VectorTypeBitfields::VecKind field from 2 to 3 bits.

With the addition of 2 enum values for Neon vectors, this field must now
hold 6 different values and so requires 3 bits.  Make the NumElements field
one bit smaller to compensate.

llvm-svn: 118900
This commit is contained in:
Bob Wilson 2010-11-12 17:24:52 +00:00
parent f58e8a4db7
commit 6a6aaa1917
1 changed files with 2 additions and 2 deletions

View File

@ -931,10 +931,10 @@ protected:
/// VecKind - The kind of vector, either a generic vector type or some
/// target-specific vector type such as for AltiVec or Neon.
unsigned VecKind : 2;
unsigned VecKind : 3;
/// NumElements - The number of elements in the vector.
unsigned NumElements : 30 - NumTypeBits;
unsigned NumElements : 29 - NumTypeBits;
};
union {