On Wed, Sep 17, 2025 at 3:38 PM Robin Dapp <rdapp....@gmail.com> wrote:
>
> > For a non-STMT_VINFO_STRIDED_P access the DR_GROUP_SIZE is
> > basically the DR_STRIDE, because the DR group models contiguous memory.
>
> You meant DR_STEP?  So if step/stride = 100 and we access the first two
> elements at 0, 1, the third is at 100 and the gap is 98?

Yes.

> In my case we have strided_p = true because the step is variable.

Ah, OK.  In that case there should be no gap at the end.

> Can I move vect_transform_slp_perm_load into get_load_store_type (with another
> return value *perm_ok), doing a second call for the punning?

Sure/

> But hmm, we don't have a way of passing another vectype to it, so that won't
> work either.

But the vector type we perform the permutation on should be unchanged (it's
not the punned type but the original type we pun the loaded vector back to)?

> --
> Regards
>  Robin
>

Reply via email to