]> git.ipfire.org Git - thirdparty/gcc.git/commit
AVR: ad target/113934 - Add option -mlra to enable LRA.
authorGeorg-Johann Lay <avr@gjlay.de>
Sat, 10 Aug 2024 08:05:55 +0000 (10:05 +0200)
committerGeorg-Johann Lay <avr@gjlay.de>
Sat, 10 Aug 2024 08:18:11 +0000 (10:18 +0200)
commit09a87ea666b28845a702d28cec6fee945b422dcd
tree0b14e85f026e00c215baab3e17d7464dc3cf6b63
parent8cc67b520968ca9a13fd96896522aa66e39a99e2
AVR: ad target/113934 - Add option -mlra to enable LRA.

PR target/113934
gcc/
* config/avr/avr.opt (-mlra): New target option.
* config/avr/avr.cc (avr_use_lra_p): New function.
(TARGET_LRA_P): Use it.
(avr_hard_regno_mode_ok) [lra]: Don't disallow 4-byte modes for X.
gcc/config/avr/avr.cc
gcc/config/avr/avr.opt