[AArch64] Fix predicate alignment for fixed-length SVE
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 15 Aug 2019 08:57:29 +0000 (08:57 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 15 Aug 2019 08:57:29 +0000 (08:57 +0000)
commit07108a9ebe4776610bb23f684b3a346d28511bed
tree17a9c85ec343f419a5305da7288f58a2c25f8207
parent2d2388f82f2e7f2fd1da063192ba98be45f099d2
[AArch64] Fix predicate alignment for fixed-length SVE

aarch64_simd_vector_alignment was only giving predicates 16-bit
alignment in VLA mode, not VLS mode.  I think the problem is latent
because we can't yet create an ABI predicate type, but it seemed worth
fixing in a standalone patch rather than as part of the main ACLE series.

The ACLE patches have tests for this.

2019-08-15  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/aarch64/aarch64.c (aarch64_simd_vector_alignment): Return
16 for SVE predicates even if they are fixed-length.

From-SVN: r274522
gcc/ChangeLog
gcc/config/aarch64/aarch64.c