https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108316
--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Seems vect_check_gather_scatter sees that there is no scatter_storevnx2qivnx2si nor mask_scatter_storevnx2qivnx2si and loops (in vect_gather_scatter_fn_p) to try scatter_storevnx2qivnx2di instead which does exist. But in the expand during expansion we see one with rhs mode E_VNx2QImode and offset mode E_VNx2SImode rather than E_VNx2DImode that actually was supported. I'm afraid I don't know much about scatters/gathers using ifns rather than builtins though, especially for SVE.