summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-11-06 11:49:31 +0100
committerRichard Biener <rguenther@suse.de>2025-11-14 12:06:02 +0100
commita645e903e8c3940f521262ff7ccb7a46e72e3604 (patch)
treed78d6de75cdacefb13b1cd2ca5379e048b3f0450 /libstdc++-v3
parent4fa9ce0b7d1ac1e495a2ec7a6934ef1be5b74cbb (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