https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116816
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:1f6b1ed047105103c2fba9696fd0ed17ec5e1405 commit r16-4076-g1f6b1ed047105103c2fba9696fd0ed17ec5e1405 Author: Richard Biener <[email protected]> Date: Wed Sep 24 12:19:17 2025 +0200 tree-optimization/116816 - improve VMAT_ELEMENTWISE with SLP The following implements VMAT_ELEMENTWISE for grouped loads, in particular for being able to serve as fallback for unhandled load permutations since it's trivial to load elements in the correct order. PR tree-optimization/116816 * tree-vect-stmts.cc (get_load_store_type): Allow multi-lane single-element interleaving to fall back to VMAT_ELEMENTWISE. Fall back to VMAT_ELEMENTWISE when we cannot handle a load permutation. (vectorizable_load): Do not check a load permutation for VMAT_ELEMENTWISE. Handle grouped loads with VMAT_ELEMENTWISE and directly apply a load permutation.
