forked from OSchip/llvm-project
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:
parent
f58e8a4db7
commit
6a6aaa1917
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue