The following fixes a mistake when applying the bias for peeling via
masking to the inital value of SLP inductions.
This resolves gcc.target/aarch64/sve/peel_ind_1.c (a scan-assembler
only unfortunately) when forcing single-lane SLP for it.
PR tree-optimization/116610
* tree-vect-loop.cc (vectorizable_induction): Use MINUS_EXPR
to apply a mask peeling adjustment.
vec_steps.safe_push (vec_step);
tree step_mul = gimple_build_vector (&init_stmts, &mul_elts);
if (peel_mul)
- step_mul = gimple_build (&init_stmts, PLUS_EXPR, step_vectype,
+ step_mul = gimple_build (&init_stmts, MINUS_EXPR, step_vectype,
step_mul, peel_mul);
if (!init_node)
vec_init = gimple_build_vector (&init_stmts, &init_elts);