https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96109

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
So the question is whether we can make vect_compute_data_ref_alignment
vectype agnostic (to also fix the required same vectype for multi SLP nodes
covering the same DRs) and instead make DR_MISALIGNMENT a function
we pass vectype (and an element offset?) to, computing whether the step
maintains alignment on the fly (and have the offset specify that
"N-1 elements before the address" we do for negative step)?  Basically
only record info for the scalar access.  Specifically I wonder whether this
will work to determine the base_misaligned info and realigning the base.

Reply via email to