diff options
author | Richard Biener <rguenther@suse.de> | 2023-11-08 15:25:51 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-11-08 16:35:37 +0100 |
commit | 38168bb69f8ed2b5d3e2e66a3813435230f83293 (patch) | |
tree | 43717cd907c3746004459491e96d052be6eb50a9 /libiberty | |
parent | c49e0c57b22e68e1aa89204f300dc5d61b42d812 (diff) | |
download | gcc-38168bb69f8ed2b5d3e2e66a3813435230f83293.zip gcc-38168bb69f8ed2b5d3e2e66a3813435230f83293.tar.gz gcc-38168bb69f8ed2b5d3e2e66a3813435230f83293.tar.bz2 |
TLC to vect_check_store_rhs and vect_slp_child_index_for_operand
This prepares us for the SLP of scatters. We have to tell
vect_slp_child_index_for_operand whether we are dealing with
a scatter/gather stmt so this adds an argument similar to
the one we have for vect_get_operand_map. This also refactors
vect_check_store_rhs to get the actual rhs and the associated
SLP node instead of leaving that to the caller.
* tree-vectorizer.h (vect_slp_child_index_for_operand):
Add gatherscatter_p argument.
* tree-vect-slp.cc (vect_slp_child_index_for_operand): Likewise.
Pass it on.
* tree-vect-stmts.cc (vect_check_store_rhs): Turn the rhs
argument into an output, also output the SLP node associated
with it.
(vectorizable_simd_clone_call): Adjust.
(vectorizable_store): Likewise.
(vectorizable_load): Likewise.
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions