https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119589
Bug ID: 119589
Summary: Alignment analysis for VMAT_STRIDED_SLP is wrong
Product: gcc
Version: 15.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: ---
We are not correctly assessing whether we can perform the required vector loads
and stores for VMAT_STRIDED_SLP resulting in unsupported loads being emitted
for targets that cannot handle misaligned vector accesses.
To avoid using aligned accesses that trap (on x86_64) we now fall back to
always emitting unaligned vector loads.