]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/102421 - copy alignment info when splitting groups
authorRichard Biener <rguenther@suse.de>
Tue, 21 Sep 2021 07:39:12 +0000 (09:39 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 21 Sep 2021 08:39:33 +0000 (10:39 +0200)
commit55b989de7679a486ad674fb154408de26ac96467
tree11571254f03b1d6de6da84ae99d8eafc4526d255
parent6e6bf4cd21af39a7923bae007517ab43a4c3b36a
tree-optimization/102421 - copy alignment info when splitting groups

This makes sure to copy and adjust alignment info when we are splitting
DR groups after alignment analysis.

2021-09-21  Richard Biener  <rguenther@suse.de>

PR tree-optimization/102421
* tree-vect-loop.c (vect_dissolve_slp_only_groups): Copy and
adjust alignment info.

* g++.dg/vect/pr102421.cc: New testcase.
gcc/testsuite/g++.dg/vect/pr102421.cc [new file with mode: 0644]
gcc/tree-vect-loop.c