Re: [PATCH 1/1][RFC] Induction vectorizer: prevent ICE for scalable types

2025-03-21 Thread Richard Biener
On Thu, 20 Mar 2025, Spencer Abson wrote: > We currently check that the target suppports PLUS_EXPR and MINUS_EXPR > with step_vectype (a fix for pr103523). However, vectorizable_induction > can emit a vectorized MULT_EXPR when calculating the step of each IV for > SLP, and both MULT_EXPR/FLOAT_EX

[PATCH 1/1][RFC] Induction vectorizer: prevent ICE for scalable types

2025-03-20 Thread Spencer Abson
We currently check that the target suppports PLUS_EXPR and MINUS_EXPR with step_vectype (a fix for pr103523). However, vectorizable_induction can emit a vectorized MULT_EXPR when calculating the step of each IV for SLP, and both MULT_EXPR/FLOAT_EXPR when calculating VEC_INIT for float inductions.