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

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Peter Bergner <berg...@gcc.gnu.org>:

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

commit r15-6883-gf12bb6c26b86c616e4de8c542804cb5b5c9ebdc6
Author: Jiufu Guo <guoji...@linux.ibm.com>
Date:   Mon Jan 13 18:16:16 2025 -0600

    rs6000: Add clobber and guard for vsx_stxvd2x4_le_const [PR116030]

    Previously, vsx_stxvd2x4_le_const_<mode> was introduced for 'split1' pass,
    so it is guarded by "can_create_pseudo_p ()".  While it would be possible
    to match the pattern of this insn during/after RA, this insn could be
    updated to make it work for split pass after RA.

    And this insn would not be the best choice if the address has alignment
like
    "&(-16)", so "!altivec_indexed_or_indirect_operand" is added to guard this
insn.

    2025-01-13  Jiufu Guo  <guoji...@linux.ibm.com>

    gcc/
            PR target/116030
            * config/rs6000/vsx.md (vsx_stxvd2x4_le_const_<mode>): Add clobber
            and guard with !altivec_indexed_or_indirect_operand.

    gcc/testsuite/
            PR target/116030
            * gcc.target/powerpc/pr116030.c: New test.

Reply via email to