]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/106841 - gather and hybrid SLP
authorRichard Biener <rguenther@suse.de>
Tue, 6 Sep 2022 08:08:44 +0000 (10:08 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 6 Sep 2022 08:55:31 +0000 (10:55 +0200)
commite33e61d417eb5e981bb7d709f8681a2f55ed518a
tree3462e78621e87530ab283e01fc61fc0fb67fca38
parentd6582c662ca0da05c74fa3183e1bc2cadcb21424
tree-optimization/106841 - gather and hybrid SLP

Hybrid SLP detection currently fails to consider a not direct
offset operand of a scatter/gather operation.  The following fixes
this.

PR tree-optimization/106841
* tree-vect-slp.cc (vect_detect_hybrid_slp): Also process
scatter/gather offset.

* g++.dg/vect/pr106841.cc: New testcase.
gcc/testsuite/g++.dg/vect/pr106841.cc [new file with mode: 0644]
gcc/tree-vect-slp.cc
This page took 0.054634 seconds and 5 git commands to generate.