]> git.ipfire.org Git - thirdparty/gcc.git/commit
Remove LOOP_VINFO_SLP_UNROLLING_FACTOR
authorRichard Biener <rguenther@suse.de>
Thu, 23 Oct 2025 09:13:09 +0000 (11:13 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 23 Oct 2025 10:57:21 +0000 (12:57 +0200)
commit4eaffcd9962b3ff1685fc2fff6aea764cef70e9c
tree2607db714176818127888362d147601765d48c60
parent6682f495f43847941cc99d5cf1f19c2eb47497ed
Remove LOOP_VINFO_SLP_UNROLLING_FACTOR

The following removes LOOP_VINFO_SLP_UNROLLING_FACTOR in favor of
using LOOP_VINFO_VECT_FACTOR directly now that there's no difference
between the two possible.

* tree-vectorizer.h (_loop_vec_info::slp_unrolling_factor): Remove.
(LOOP_VINFO_SLP_UNROLLING_FACTOR): Likewise.
* tree-vect-loop.cc (_loop_vec_info::_loop_vec_info): Adjust.
(vect_analyze_loop_2): Likewise.
* tree-vect-slp.cc (vect_make_slp_decision): Set
LOOP_VINFO_VECT_FACTOR directly.
gcc/tree-vect-loop.cc
gcc/tree-vect-slp.cc
gcc/tree-vectorizer.h