]> gcc.gnu.org Git - gcc.git/commit
combine: Don't create REG_UNUSED notes if the reg already died (PR99927)
authorSegher Boessenkool <segher@kernel.crashing.org>
Sat, 17 Apr 2021 18:06:17 +0000 (18:06 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Sun, 18 Apr 2021 15:01:13 +0000 (15:01 +0000)
commitb412ce8e961052e6becea3bc783a53e1d5feaa0f
tree8b12ec63c1ef33276bbc7bfbb839bd27ffc20f85
parentda946b41be521adb68bbe8695563b380cd8b3243
combine: Don't create REG_UNUSED notes if the reg already died (PR99927)

If the register named in an existing REG_UNUSED note dies somewhere
between where the note used to be and I3, we should just drop it.

2021-04-21  Segher Boessenkool  <segher@kernel.crashing.org>

PR rtl-optimization/99927
* combine.c (distribute_notes) [REG_UNUSED]: If the register already
is dead, just drop it.
gcc/combine.c
This page took 0.069421 seconds and 6 git commands to generate.