diff options
author | Richard Biener <rguenther@suse.de> | 2025-07-25 14:04:50 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2025-07-25 16:46:41 +0200 |
commit | 91eb409242218d5bb66fb32cba7dad3c8ab77814 (patch) | |
tree | b125ea8d0959188b061f4c879cd3bf3ff1797d6a /gcc/tree-ssa-loop-prefetch.cc | |
parent | e38c88d5deb4fd4ef103b63691d7be028a54c3dc (diff) | |
download | gcc-91eb409242218d5bb66fb32cba7dad3c8ab77814.zip gcc-91eb409242218d5bb66fb32cba7dad3c8ab77814.tar.gz gcc-91eb409242218d5bb66fb32cba7dad3c8ab77814.tar.bz2 |
Tidy vect_is_simple_use API for SLP only
The following removes one vect_is_simple_use overload that shouldn't
be used anymore after removing the single remaining use related
to gather handling in get_group_load_store_type. It also removes
the dual-purpose of the overload getting both SLP node and
stmt_vec_info and removes the latter argument.
That leaves us with a SLP overload handling vector code and the
stmt_info overload handling scalar code. In theory the former
is only convenience and it should never fail given SLP build
checks the constraint already, but there's the 'op' argument
we have to get rid of first.
* tree-vectorizer.h (vect_is_simple_use): Remove stmt-info
with vectype output overload and remove stmt-info argument
from SLP based API.
* tree-vect-loop.cc (vectorizable_lane_reducing): Remove
unused def_stmt_info output argument to vect_is_simple_use.
Adjust.
* tree-vect-stmts.cc (get_group_load_store_type): Get
the gather/scatter offset vector type from the SLP child.
(vect_check_scalar_mask): Remove stmt_info argument. Adjust.
(vect_check_store_rhs): Likewise.
(vectorizable_call): Likewise.
(vectorizable_simd_clone_call): Likewise.
(vectorizable_conversion): Likewise.
(vectorizable_assignment): Likewise.
(vectorizable_shift): Likewise.
(vectorizable_operation): Likewise.
(vectorizable_load): Likewise.
(vect_is_simple_cond): Remove stmt_info argument. Adjust.
(vectorizable_condition): Likewise.
(vectorizable_comparison_1): Likewise.
(vectorizable_store): Likewise.
(vect_is_simple_use): Remove overload and non-SLP path.
Diffstat (limited to 'gcc/tree-ssa-loop-prefetch.cc')
0 files changed, 0 insertions, 0 deletions