On Tue, Dec 2, 2025 at 10:32 PM Robin Dapp <[email protected]> wrote:
>
> We are missing several vec_extract chances because the current autovec
> patterns are not comprehensive.  In particular we don't extract from
> pseudo-VLA modes that are actually VLS modes (just VLA modes in name).
>
> Rather than add even more mode combinations to vec_extract, this patch
> removes the expanders and replaces them with a dynamic approach in

Wait, this patch does not remove anything? have you forgotten to add
those changes into this patch?

> legitimize_move.  At that point we can just check if the mode sizes make
> sense and then emit the same code as before.
>
> This is not the ideal solution as the middle-end and the vectorizer in
> particular queries the vec_extract optab for support and won't emit
> certain code sequences if it's not present (e.g. in VMAT_STRIDED_SLP
> or when trying intermediate-sized vectors in a chain).
> For simple BIT_FIELD_REFs it works, though.

Reply via email to