aboutsummaryrefslogtreecommitdiff
path: root/gcc/godump.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-07-13 13:59:15 +0200
committerRichard Biener <rguenther@suse.de>2021-07-14 08:15:17 +0200
commit1dd3f21095858fbfd3e28a149578d5fb67e75f95 (patch)
treec09052cd904389d80af79d67e1a586478b475ea4 /gcc/godump.c
parenta7098d6ef4e4e799dab8ef925c62b199d707694b (diff)
downloadgcc-1dd3f21095858fbfd3e28a149578d5fb67e75f95.zip
gcc-1dd3f21095858fbfd3e28a149578d5fb67e75f95.tar.gz
gcc-1dd3f21095858fbfd3e28a149578d5fb67e75f95.tar.bz2
Support reduction def re-use for epilogue with different vector size
The following adds support for re-using the vector reduction def from the main loop in vectorized epilogue loops on architectures which use different vector sizes for the epilogue. That's only x86 as far as I am aware. 2021-07-13 Richard Biener <rguenther@suse.de> * tree-vect-loop.c (vect_find_reusable_accumulator): Handle vector types where the old vector type has a multiple of the new vector type elements. (vect_create_partial_epilog): New function, split out from... (vect_create_epilog_for_reduction): ... here. (vect_transform_cycle_phi): Reduce the re-used accumulator to the new vector type. * gcc.target/i386/vect-reduc-1.c: New testcase.
Diffstat (limited to 'gcc/godump.c')
0 files changed, 0 insertions, 0 deletions