[Bug target/84211] [avr] Perform a post-reload register optimization pass
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Nov 30 14:13:51 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84211
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Georg-Johann Lay <gjl@gcc.gnu.org>:
https://gcc.gnu.org/g:214985f6b35ea8038c4e96590b435aaef2919769
commit r15-5822-g214985f6b35ea8038c4e96590b435aaef2919769
Author: Georg-Johann Lay <avr@gjlay.de>
Date: Sat Nov 30 14:58:05 2024 +0100
AVR: ad target/84211 - Split MOVW into MOVs in try_split_any.
When splitting multi-byte REG-REG moves in try_split_any(),
it's not clear whether propagating constants will turn
out as profitable. When MOVW is available, split into
REG-REG moves instead of a possible REG-CONST.
gcc/
PR target/84211
* config/avr/avr-passes.cc (try_split_any) [SET, MOVW]: Prefer
reg=reg move over reg=const when splitting a reg=reg insn.
More information about the Gcc-bugs
mailing list