diff options
author | Vladimir N. Makarov <vmakarov@redhat.com> | 2025-01-09 16:22:02 -0500 |
---|---|---|
committer | Vladimir N. Makarov <vmakarov@redhat.com> | 2025-01-09 16:27:28 -0500 |
commit | fab96de044f1f023f52d43af866205d17d8895fb (patch) | |
tree | 23f29efb13193de1b4b6e79cb0c80b1de3483dc9 /gcc/c/c-parser.cc | |
parent | 3cae3a80695e5aabd7353c02e179c997158eef30 (diff) | |
download | gcc-fab96de044f1f023f52d43af866205d17d8895fb.zip gcc-fab96de044f1f023f52d43af866205d17d8895fb.tar.gz gcc-fab96de044f1f023f52d43af866205d17d8895fb.tar.bz2 |
[PR118017][LRA]: Don't inherit reg of non-uniform reg class
In the PR case LRA inherited value of register of class INT_SSE_REGS
which resulted in LRA cycling when LRA tried to use different move
alternatives with SSE/general regs and memory. The patch rejects to
inherit such (non-uniform) classes to prevent cycling.
gcc/ChangeLog:
PR target/118017
* lra-constraints.cc (inherit_reload_reg): Check reg class on uniformity.
gcc/testsuite/ChangeLog:
PR target/118017
* gcc.target/i386/pr118017.c: New.
Diffstat (limited to 'gcc/c/c-parser.cc')
0 files changed, 0 insertions, 0 deletions