aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-array-bounds.cc
diff options
context:
space:
mode:
authorVladimir N. Makarov <vmakarov@redhat.com>2023-03-09 08:41:09 -0500
committerVladimir N. Makarov <vmakarov@redhat.com>2023-03-09 08:45:04 -0500
commita6457974a1f443ab58d2334c02260299616c78b8 (patch)
treefedf12457c84e0a14552be2793f694b192961855 /gcc/gimple-array-bounds.cc
parentace65db9215882b95e2ead1bb0dc8c54c2ea69be (diff)
downloadgcc-a6457974a1f443ab58d2334c02260299616c78b8.zip
gcc-a6457974a1f443ab58d2334c02260299616c78b8.tar.gz
gcc-a6457974a1f443ab58d2334c02260299616c78b8.tar.bz2
LRA: For clobbered regs use operand mode instead of the biggest mode
LRA is too conservative in calculation of conflicts with clobbered regs by using the biggest access mode. This results in failure of possible reg coalescing and worse code. This patch solves the problem. PR rtl-optimization/108999 gcc/ChangeLog: * lra-constraints.cc (process_alt_operands): Use operand modes for clobbered regs instead of the biggest access mode. gcc/testsuite/ChangeLog: * gcc.target/aarch64/pr108999.c: New.
Diffstat (limited to 'gcc/gimple-array-bounds.cc')
0 files changed, 0 insertions, 0 deletions