aboutsummaryrefslogtreecommitdiff
path: root/c++tools
diff options
context:
space:
mode:
authorVladimir N. Makarov <vmakarov@redhat.com>2021-01-29 11:51:44 -0500
committerVladimir N. Makarov <vmakarov@redhat.com>2021-01-29 14:54:41 -0500
commit7f9f83ef300e8734dccb90a7c347997b2787e9e9 (patch)
tree55c36a274feef77806287dc0a394bcd0c4bb41a2 /c++tools
parent726b7aa004d6885388a76521222602b8552a41ee (diff)
downloadgcc-7f9f83ef300e8734dccb90a7c347997b2787e9e9.zip
gcc-7f9f83ef300e8734dccb90a7c347997b2787e9e9.tar.gz
gcc-7f9f83ef300e8734dccb90a7c347997b2787e9e9.tar.bz2
[PR97701] LRA: Don't narrow class only for REG or MEM.
Reload pseudos of ALL_REGS class did not narrow class from constraint in insn (set (pseudo) (lo_sum ...)) because lo_sum is considered an object (OBJECT_P) although the insn is not a classic move. To permit narrowing we are starting to use MEM_P and REG_P instead of OBJECT_P. gcc/ChangeLog: PR target/97701 * lra-constraints.c (in_class_p): Don't narrow class only for REG or MEM. gcc/testsuite/ChangeLog: PR target/97701 * gcc.target/aarch64/pr97701.c: New.
Diffstat (limited to 'c++tools')
0 files changed, 0 insertions, 0 deletions