https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116573
--- Comment #12 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:5e3a4a01785e2d5135528a07bb8116af9c55ddf8 commit r15-3712-g5e3a4a01785e2d5135528a07bb8116af9c55ddf8 Author: Richard Biener <rguent...@suse.de> Date: Tue Sep 17 11:20:10 2024 +0200 tree-optimization/116573 - .SELECT_VL for SLP The following restores the use of .SELECT_VL for testcases where it is safe to use even when using SLP. I've for now restricted it to single-lane SLP plus optimistically allow store-lane nodes and assume single-lane roots are not widened but at most to load-lane who should be fine. PR tree-optimization/116573 * tree-vect-loop.cc (vect_analyze_loop_2): Allow .SELECV_VL for SLP but disable it when there's multi-lane instances. * tree-vect-stmts.cc (vectorizable_store): Only compute the ptr increment when generating code. (vectorizable_load): Likewise.