On Fri, 4 Oct 2024, Richard Sandiford wrote: > This series should fix the target-independent parts of PR116583. > (We also need some target-specific patches, to be posted separately.) > > The explanations are in the individual commit messages, but I've > attached a -b diff below in case my attempt to split the patch up > has just obfuscated things instead. > > Tested on aarch64-linux-gnu (with and without SVE enabled by default) > and x86_64-linux-gnu. Also tested by running the vect testsuite > with vect-force-slp=1.
The series is OK. Thanks for working on this. Richard. > Richard Sandiford (4): > vect: Variable lane indices in vectorizable_slp_permutation_1 > vect: Restructure repeating_p case for SLP permutations > vect: Support more VLA SLP permutations > vect: Add more dump messages for VLA SLP permutation > > gcc/testsuite/gcc.dg/vect/slp-13-big-array.c | 2 +- > gcc/testsuite/gcc.dg/vect/slp-13.c | 2 +- > gcc/tree-vect-slp.cc | 190 +++++++++++++------ > 3 files changed, 134 insertions(+), 60 deletions(-) > >