diff options
author | Alex Coplan <alex.coplan@arm.com> | 2023-12-21 10:52:44 +0000 |
---|---|---|
committer | Alex Coplan <alex.coplan@arm.com> | 2023-12-21 10:52:44 +0000 |
commit | aca1f9d7cab3dc1a374a7dc0ec6f7a8d02d2869a (patch) | |
tree | 2468c7ac077d6434a8ab716d93b2d822e4e4ad43 /gcc/tree-vect-loop-manip.cc | |
parent | 41a5f67db3cd625d2f3cfba6a87d3530a3291f33 (diff) | |
download | gcc-aca1f9d7cab3dc1a374a7dc0ec6f7a8d02d2869a.zip gcc-aca1f9d7cab3dc1a374a7dc0ec6f7a8d02d2869a.tar.gz gcc-aca1f9d7cab3dc1a374a7dc0ec6f7a8d02d2869a.tar.bz2 |
aarch64: Prevent moving throwing accesses in ldp/stp pass [PR113093]
As the PR shows, there was nothing to prevent the ldp/stp pass from
trying to move throwing insns, which lead to an RTL verification
failure.
This patch fixes that.
gcc/ChangeLog:
PR target/113093
* config/aarch64/aarch64-ldp-fusion.cc (latest_hazard_before):
If the insn is throwing, record the previous insn as a hazard to
prevent moving it from the end of the BB.
gcc/testsuite/ChangeLog:
PR target/113093
* gcc.dg/pr113093.c: New test.
Diffstat (limited to 'gcc/tree-vect-loop-manip.cc')
0 files changed, 0 insertions, 0 deletions