This blocks the SLP transition. We should be able to use build_vec_series and for group_size > 1 interleave those vectors (though group_size > 1 support is not priority). gcc.dg/vect/slp-19c.c fails to fully SLP for this for example.
I'm looking into this now.
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>: https://gcc.gnu.org/g:ba7632674a2a9ba8193f082c8ca9614c642de3b7 commit r15-4012-gba7632674a2a9ba8193f082c8ca9614c642de3b7 Author: Richard Biener <rguenther@suse.de> Date: Mon Sep 30 17:06:24 2024 +0200 tree-optimization/116566 - single lane SLP for VLA inductions The following adds SLP support for vectorizing single-lane inductions with variable length vectors. PR tree-optimization/116566 * tree-vect-loop.cc (vectorizable_induction): Handle single-lane SLP for VLA vectors. * gcc.dg/tree-ssa/reassoc-46.c: When using partial vectors the dump-scan doesn't look for the required .COND_ADD so skip for partial vectors.
Now supported for single-lane SLP thus no longer blocks PR116578. Still enhancing should be possible, at least for a power-of-two number of induction lanes or the case of uniform inductions.