]> gcc.gnu.org Git - gcc.git/commit
[PR113526][LRA]: Fixing asm-flag-1.c failure on ARM
authorVladimir N. Makarov <vmakarov@redhat.com>
Thu, 25 Jan 2024 19:41:17 +0000 (14:41 -0500)
committerVladimir N. Makarov <vmakarov@redhat.com>
Thu, 25 Jan 2024 19:46:39 +0000 (14:46 -0500)
commit476226290dba8cd7f3e9f4e3f0185b58903db8cd
treeee2b9a58bc0c14de8ffe202e94cd239930cbb532
parentffeab69e1ffc0405da3a9222c7b9f7a000252702
[PR113526][LRA]: Fixing asm-flag-1.c failure on ARM

My recent patch for PR113356 results in failure asm-flag-1.c test on arm.
After the patch LRA treats asm operand pseudos as general regs.  There
are too many such operands and LRA can not assign hard regs to all
operand pseudos.  Actually we should not assign hard regs to the
operand pseudo at all.  The following patch fixes this.

gcc/ChangeLog:

PR target/113526
* lra-constraints.cc (curr_insn_transform): Change class even for
spilled pseudo successfully matched with with NO_REGS.
gcc/lra-constraints.cc
This page took 0.053986 seconds and 5 git commands to generate.