diff options
author | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2024-11-29 10:18:57 +0000 |
---|---|---|
committer | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2024-11-29 15:54:44 +0000 |
commit | f42fd8e9335354f986d69b92ab66be07cc31bc7a (patch) | |
tree | c4f6abb3d01d95a1f8ed79e3e61dc3be71301b24 /gcc/debug.cc | |
parent | 15bd62513acf802966fd04f58f4ada84a6d2a7fd (diff) | |
download | gcc-f42fd8e9335354f986d69b92ab66be07cc31bc7a.zip gcc-f42fd8e9335354f986d69b92ab66be07cc31bc7a.tar.gz gcc-f42fd8e9335354f986d69b92ab66be07cc31bc7a.tar.bz2 |
arm, mve: Detect uses of vctp_vpr_generated inside subregs
Address a problem we were having where we were missing on detecting uses of
vctp_vpr_generated in the analysis for 'arm_attempt_dlstp_transform' because
the use was inside a SUBREG and rtx_equal_p does not catch that. Using
reg_overlap_mentioned_p is much more robust.
gcc/ChangeLog:
PR target/117814
* config/arm/arm.cc (arm_attempt_dlstp_transform): Use
reg_overlap_mentioned_p instead of rtx_equal_p to detect uses of
vctp_vpr_generated inside subregs.
gcc/testsuite/ChangeLog:
PR target/117814
* gcc.target/arm/mve/dlstp-invalid-asm.c (test10): Renamed to...
(test10a): ... this.
(test10b): Variation of test10a with a small change to trigger wrong
codegen.
Diffstat (limited to 'gcc/debug.cc')
0 files changed, 0 insertions, 0 deletions