]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove now redundant vect_get_vec_defs overload
authorRichard Biener <rguenther@suse.de>
Fri, 25 Jul 2025 13:03:36 +0000 (15:03 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 25 Jul 2025 14:46:41 +0000 (16:46 +0200)
commitcebf2a85d2de9aea3fa8ba0d8dc45945e56f0eb9
tree2a6b86b323d37d9859346066574a5c19e44d8cc7
parent91eb409242218d5bb66fb32cba7dad3c8ab77814
Remove now redundant vect_get_vec_defs overload

The following removes the vect_get_vec_defs overload receiving
a vector type to be used for the possibly constant/invariant
operand.  This was used for non-SLP code generation as there
constants/invariants are generated on the fly.  It also elides
the stmt_vec_info and ncopies argument which are not required
for SLP.

* tree-vectorizer.h (vect_get_vec_defs): Remove overload
with operand vector type.  Remove stmt_vec_info and
ncopies argument.
* tree-vect-stmts.cc (vect_get_vec_defs): Likewise.
(vectorizable_conversion): Adjust by not passing in
vector types, stmt_vec_info and ncopies.
(vectorizable_bswap): Likewise.
(vectorizable_assignment): Likewise.
(vectorizable_shift): Likewise.
(vectorizable_operation): Likewise.
(vectorizable_scan_store): Likewise.
(vectorizable_store): Likewise.
(vectorizable_condition): Likewise.
(vectorizable_comparison_1): Likewise.
* tree-vect-loop.cc (vect_transform_reduction): Likewise.
(vect_transform_lc_phi): Likewise.
gcc/tree-vect-loop.cc
gcc/tree-vect-stmts.cc
gcc/tree-vectorizer.h