https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117814

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Andre Simoes Dias Vieira
<avie...@gcc.gnu.org>:

https://gcc.gnu.org/g:f42fd8e9335354f986d69b92ab66be07cc31bc7a

commit r15-5798-gf42fd8e9335354f986d69b92ab66be07cc31bc7a
Author: Andre Vieira <andre.simoesdiasvie...@arm.com>
Date:   Fri Nov 29 10:18:57 2024 +0000

    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.

Reply via email to