diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-12-19 13:36:16 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-12-19 13:36:16 +0000 |
commit | 76607e7e5f5ef67e4a469fdf2a320118ff2fa25a (patch) | |
tree | a0de6df37de444fc88a84ccdb4f1f9d07d046f66 /gcc/hash-map-tests.c | |
parent | 6aa5370cccf7c0475192dc8c641450722ae1e477 (diff) | |
download | gcc-76607e7e5f5ef67e4a469fdf2a320118ff2fa25a.zip gcc-76607e7e5f5ef67e4a469fdf2a320118ff2fa25a.tar.gz gcc-76607e7e5f5ef67e4a469fdf2a320118ff2fa25a.tar.bz2 |
[AArch64] Reject invalid subregs involving partial SVE modes
When adding partial SVE modes, I'd remembered to handle reloads
in a similar way to full big-endian SVE vectors, but forgot the
just-as-important mode-change rules.
2019-12-19 Richard Sandiford <richard.sandiford@arm.com>
gcc/
* config/aarch64/aarch64.c (aarch64_can_change_mode_class):
Don't allow changes between partial SVE modes and other kinds
of mode. Don't allow changes between two partial SVE modes
if they have different container or element sizes.
gcc/testsuite/
* gcc.target/aarch64/sve/mixed_size_8.c: New test.
From-SVN: r279572
Diffstat (limited to 'gcc/hash-map-tests.c')
0 files changed, 0 insertions, 0 deletions