summaryrefslogtreecommitdiff
path: root/gcc/regrename.c
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2018-05-09 14:12:33 +0200
committerSegher Boessenkool <segher@gcc.gnu.org>2018-05-09 14:12:33 +0200
commitc35533d7e97fda61c50be8b8260157956cf388e2 (patch)
tree0c11705fcc36e0cb2df00a4a043399348993b03c /gcc/regrename.c
parent3ba4ff4130903a3ded931d715a2204bd8834fe60 (diff)
regcprop: Avoid REG_CFA_REGISTER notes (PR85645)
Changing a SET that has a REG_CFA_REGISTER note is wrong if we are changing the SET_DEST, or if the REG_CFA_REGISTER has nil as its argument, and maybe some other cases. It's never really useful to propagate into such an instruction, so let's just bail whenever we see such a note. PR rtl-optimization/85645 * regcprop.c (copyprop_hardreg_forward_1): Don't propagate into an insn that has a REG_CFA_REGISTER note. From-SVN: r260074
Diffstat (limited to 'gcc/regrename.c')
0 files changed, 0 insertions, 0 deletions