https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111131
Bug ID: 111131 Summary: SLP of gathers incomplete Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: rguenth at gcc dot gnu.org Target Milestone: --- SLP of gathers relies on vect_recog_gather_scatter_pattern but for example x86 still uses the decl based target hook. There's also open-coded gather/scatter support which isn't handled by SLP either. The "correct" way is probably to use vect_check_gather_scatter at SLP build time. This can for example be seen when trying to vectorize gcc.dg/vect/tsvc/vect-tsvc-vag.c with single-lane SLP, but gcc.dg/vect/vect-gather-*.c also FAIL without vect_gather_load_ifn.