diff options
author | Tamar Christina <tamar.christina@arm.com> | 2024-01-24 15:56:50 +0000 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2024-01-24 15:56:50 +0000 |
commit | 306713c953d509720dc394c43c0890548bb0ae07 (patch) | |
tree | 6f4f344ce07e777847540fc7bef95004f6537941 /gcc/varasm.cc | |
parent | bc4a20bc57ce71da0a96bcc6ec5683640b9004d6 (diff) | |
download | gcc-306713c953d509720dc394c43c0890548bb0ae07.zip gcc-306713c953d509720dc394c43c0890548bb0ae07.tar.gz gcc-306713c953d509720dc394c43c0890548bb0ae07.tar.bz2 |
AArch64: Do not allow SIMD clones with simdlen 1 [PR113552]
The AArch64 vector PCS does not allow simd calls with simdlen 1,
however due to a bug we currently do allow it for num == 0.
This causes us to emit a symbol that doesn't exist and we fail to link.
gcc/ChangeLog:
PR tree-optimization/113552
* config/aarch64/aarch64.cc
(aarch64_simd_clone_compute_vecsize_and_simdlen): Block simdlen 1.
gcc/testsuite/ChangeLog:
PR tree-optimization/113552
* gcc.target/aarch64/pr113552.c: New test.
* gcc.target/aarch64/simd_pcs_attribute-3.c: Remove bogus check.
Diffstat (limited to 'gcc/varasm.cc')
0 files changed, 0 insertions, 0 deletions