[AArch64] PR target/65491: Classify V1TF vectors as AAPCS64 short vectors rather...
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 22 May 2015 14:36:27 +0000 (14:36 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 22 May 2015 14:36:27 +0000 (14:36 +0000)
commitb6ec6215e38ce9e73bc589826caafe480736b944
tree238584c7ad3365c0a68d132d7f72745685dfb0c1
parent320d13eccc9e0df7e3ac2d9d81b8a56715c6c90e
[AArch64] PR target/65491: Classify V1TF vectors as AAPCS64 short vectors rather than composite types

PR target/65491
* config/aarch64/aarch64.c (aarch64_short_vector_p): Move above
aarch64_composite_type_p.  Remove check for aarch64_composite_type_p.
(aarch64_composite_type_p): Return false if given type and mode are
for a short vector.

PR target/65491
* gcc.target/aarch64/pr65491_1.c: New test.
* gcc.target/aarch64/aapcs64/type-def.h (vlf1_t): New typedef.
* gcc.target/aarch64/aapcs64/func-ret-1.c: Add test for vlf1_t.

From-SVN: r223577
gcc/ChangeLog
gcc/config/aarch64/aarch64.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/aapcs64/func-ret-1.c
gcc/testsuite/gcc.target/aarch64/aapcs64/type-def.h
gcc/testsuite/gcc.target/aarch64/pr65491_1.c [new file with mode: 0644]