aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/simplify.c
diff options
context:
space:
mode:
authorVladimir N. Makarov <vmakarov@redhat.com>2021-02-18 17:49:26 -0500
committerVladimir N. Makarov <vmakarov@redhat.com>2021-02-18 17:51:03 -0500
commitd1efec57e279f5b0cd62073696cd351fce369bb7 (patch)
tree20415240b05c75ebf3b546f0e2c0b9c942a5431a /gcc/fortran/simplify.c
parent6347f4a0904fce17eedf5c071be6f3c118680290 (diff)
downloadgcc-d1efec57e279f5b0cd62073696cd351fce369bb7.zip
gcc-d1efec57e279f5b0cd62073696cd351fce369bb7.tar.gz
gcc-d1efec57e279f5b0cd62073696cd351fce369bb7.tar.bz2
[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.
Diffstat (limited to 'gcc/fortran/simplify.c')
0 files changed, 0 insertions, 0 deletions