aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@linaro.org>2018-02-01 11:02:52 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2018-02-01 11:02:52 +0000
commit9a1b9cb4d6fcf88d68f55b97c7d9d09c5606fed7 (patch)
treee9113a183b853716bdd60e811c85a208236d42c6 /gcc/tree-data-ref.c
parent31b6733b1628a861de4c545bff40acc97850dbbf (diff)
downloadgcc-9a1b9cb4d6fcf88d68f55b97c7d9d09c5606fed7.zip
gcc-9a1b9cb4d6fcf88d68f55b97c7d9d09c5606fed7.tar.gz
gcc-9a1b9cb4d6fcf88d68f55b97c7d9d09c5606fed7.tar.bz2
[AArch64] Tighten aarch64_secondary_reload condition (PR 83845)
aarch64_secondary_reload enforced a secondary reload via aarch64_sve_reload_be for memory and pseudo registers, but failed to do the same for subregs of pseudo registers. To avoid this and any similar problems, the patch instead tests for things that the move patterns handle directly; if the operand isn't one of those, we should use the reload pattern instead. The patch fixes an ICE in sve/mask_struct_store_3.c for aarch64_be, where the bogus target description was (rightly) causing LRA to cycle. 2018-02-01 Richard Sandiford <richard.sandiford@linaro.org> gcc/ PR tearget/83845 * config/aarch64/aarch64.c (aarch64_secondary_reload): Tighten check for operands that need to go through aarch64_sve_reload_be. Reviewed-by: James Greenhalgh <james.greenhalgh@arm.com> From-SVN: r257285
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions