]> git.ipfire.org Git - thirdparty/gcc.git/commit
AVR: Improve POST_INC output in some rare cases.
authorGeorg-Johann Lay <avr@gjlay.de>
Thu, 8 Aug 2024 14:50:39 +0000 (16:50 +0200)
committerGeorg-Johann Lay <avr@gjlay.de>
Thu, 8 Aug 2024 16:39:44 +0000 (18:39 +0200)
commitef697f83917e6380e979c196b330ad8ad84b8ce0
tree9aaa579c64f837b4f26a081c1061d3a9666fc62b
parent715317331994d3d69395056f77bfe7ac613af009
AVR: Improve POST_INC output in some rare cases.

gcc/
* config/avr/avr.cc (avr_insn_has_reg_unused_note_p): New function.
(_reg_unused_after): Use it to recognize more cases.
(avr_out_lpm_no_lpmx) [POST_INC]: Use reg_unused_after.
gcc/config/avr/avr.cc