diff options
| author | Richard Biener <rguenther@suse.de> | 2025-11-06 11:49:31 +0100 |
|---|---|---|
| committer | Richard Biener <rguenther@suse.de> | 2025-11-14 12:06:02 +0100 |
| commit | a645e903e8c3940f521262ff7ccb7a46e72e3604 (patch) | |
| tree | d78d6de75cdacefb13b1cd2ca5379e048b3f0450 /libstdc++-v3 | |
| parent | 4fa9ce0b7d1ac1e495a2ec7a6934ef1be5b74cbb (diff) | |
tree-optimization/122573 - enhance SLP of invariant loads
Currently SLP of invariant loads is only supported for the case of
a single load that is splat, as side-effect of supporting this case
even for non-invariant loads. The following extends this to any
set of invariant loads. The way we have load permutations for
these makes it a bit awkward, thus adjustments in that area.
PR tree-optimization/122573
* tree-vect-slp.cc (vect_build_slp_tree_1): Support
groups of invariant loads.
(vect_build_slp_tree_2): Likewise.
(vect_transform_slp_perm_load_1): Likewise.
* tree-vect-stmts.cc (vectorizable_load): Handle non-splat
SLP for invaraint loads.
* gcc.dg/vect/slp-58.c: New testcase.
Diffstat (limited to 'libstdc++-v3')
0 files changed, 0 insertions, 0 deletions
