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

--- Comment #12 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Vladimir Makarov <vmaka...@gcc.gnu.org>:

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

commit r11-7285-gd1efec57e279f5b0cd62073696cd351fce369bb7
Author: Vladimir N. Makarov <vmaka...@redhat.com>
Date:   Thu Feb 18 17:49:26 2021 -0500

    [PR96264] LRA: Check output insn hard regs when updating available
rematerialization after the insn

     Insn for rematerialization can contain a clobbered hard register.  We
    can not move such insn through another insn setting up the same hard
    register.  The patch adds such check.

    gcc/ChangeLog:

            PR rtl-optimization/96264
            * lra-remat.c (reg_overlap_for_remat_p): Check also output insn
            hard regs.

    gcc/testsuite/ChangeLog:

            PR rtl-optimization/96264
            * gcc.target/powerpc/pr96264.c: New.

Reply via email to