aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/switch-c.adb
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-10-15 11:55:53 +0200
committerRichard Biener <rguenther@suse.de>2020-10-16 08:28:37 +0200
commit429ad0bb0d3dc77e44f95620341da4938d49168e (patch)
tree345c1f41c854325692c2a9e1b6b6c8cb40dd8dd9 /gcc/ada/switch-c.adb
parentb85d5dc58359ba6f12407861bb50af5e503f89e4 (diff)
downloadgcc-429ad0bb0d3dc77e44f95620341da4938d49168e.zip
gcc-429ad0bb0d3dc77e44f95620341da4938d49168e.tar.gz
gcc-429ad0bb0d3dc77e44f95620341da4938d49168e.tar.bz2
tree-optimization/97428 - split SLP groups for loop vectorization
This enables SLP store group splitting also for loop vectorization. For the existing testcase gcc.dg/vect/vect-complex-5.c this then generates much better code, likewise for the PR97428 testcase. Both of those have a splitting opportunity splitting the group into two equal (vector-sized) halves, still the patch enables quite arbitrary splitting since generally the interleaving scheme results in quite awkward code for even small groups. If any problems surface with this it's easy to restrict the splitting to known-good cases. 2020-10-15 Richard Biener <rguenther@suse.de> PR tree-optimization/97428 * tree-vect-slp.c (vect_analyze_slp_instance): Split store groups also for loop vectorization. * gcc.dg/vect/vect-complex-5.c: Expect to SLP. * gcc.dg/vect/pr97428.c: Likewise.
Diffstat (limited to 'gcc/ada/switch-c.adb')
0 files changed, 0 insertions, 0 deletions