https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116791
--- Comment #10 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:723f7b6db841c1a101a2f5b3b6273d8449dae39e commit r15-3791-g723f7b6db841c1a101a2f5b3b6273d8449dae39e Author: Richard Biener <rguent...@suse.de> Date: Mon Sep 23 10:13:17 2024 +0200 tree-optimization/116791 - Elementwise SLP vectorization The following restricts the elementwise SLP vectorization to the single-lane case which is the reason I enabled it to avoid regressions with non-SLP. The PR shows that multi-line SLP loads with elementwise accesses require work, I'll open a new bug to track this for the future. PR tree-optimization/116791 * tree-vect-stmts.cc (get_group_load_store_type): Only fall back to elementwise access for single-lane SLP, restore hard failure mode for other cases. * gcc.dg/vect/pr116791.c: New testcase.