]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/116973 - SLP permute lower heuristic and single-lane SLP
authorRichard Biener <rguenther@suse.de>
Tue, 12 Nov 2024 09:31:30 +0000 (10:31 +0100)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 12 Nov 2024 13:57:32 +0000 (14:57 +0100)
commit0d4b254b20a9193ab261d02f8a063e21816f85e4
tree1b88def31c54824e092b9a3468294399c7959c56
parent1b35b929354c41f3e2682aa7a30013e1bfe31bd4
tree-optimization/116973 - SLP permute lower heuristic and single-lane SLP

When forcing single-lane SLP to emulate non-SLP behavior we need to
disable heuristics designed to optimize SLP loads and instead in
all cases resort to an interleaving scheme as requested by forcefully
doing single-lane SLP.

This fixes the remaining fallout for --param vect-force-slp=1 on x86.

PR tree-optimization/116973
* tree-vect-slp.cc (vect_lower_load_permutations): Add
force_single_lane parameter.  Disable heuristic that keeps
some load-permutations.
(vect_analyze_slp): Pass force_single_lane to
vect_lower_load_permutations.
gcc/tree-vect-slp.cc