aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-patterns.cc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2023-04-19 11:13:11 +0200
committerJakub Jelinek <jakub@redhat.com>2023-04-19 11:13:11 +0200
commit76f44fbfea1f11e53d4b7e83f0debd029c94a1b3 (patch)
tree480aa9991c8cd99168bc4ed67316189ef03759ad /gcc/tree-vect-patterns.cc
parent2c7bf8036dfe2f603f1c135dabf6415d8d28051b (diff)
downloadgcc-76f44fbfea1f11e53d4b7e83f0debd029c94a1b3.zip
gcc-76f44fbfea1f11e53d4b7e83f0debd029c94a1b3.tar.gz
gcc-76f44fbfea1f11e53d4b7e83f0debd029c94a1b3.tar.bz2
dse: Use SUBREG_REG for copy_to_mode_reg in DSE replace_read for WORD_REGISTER_OPERATIONS targets [PR109040]
While we've agreed this is not the right fix for the PR109040 bug, the patch clearly improves generated code (at least on the testcase from the PR), so I'd like to propose this as optimization heuristics improvement for GCC 14. 2023-04-19 Jakub Jelinek <jakub@redhat.com> PR target/109040 * dse.cc (replace_read): If read_reg is a SUBREG of a word mode REG, for WORD_REGISTER_OPERATIONS copy SUBREG_REG of it into a new REG rather than the SUBREG.
Diffstat (limited to 'gcc/tree-vect-patterns.cc')
0 files changed, 0 insertions, 0 deletions