[Bug tree-optimization/122475] [16 Regression] ICE in the vectorize with RVV and SVE
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 29 07:34:48 GMT 2025
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122475
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tnfchris at gcc dot gnu.org
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Same cause I think.
/* For double reductions, and for SLP reductions with a neutral value,
we construct a variable-length initial vector by loading a vector
full of the neutral value and then shift-and-inserting the start
values into the low-numbered elements. */
if ((double_reduc || neutral_op)
&& !nunits_out.is_constant ()
&& (SLP_TREE_LANES (slp_node) != 1 && !reduc_chain)
&& !operand_equal_p (neutral_op, vect_phi_initial_value (reduc_def_phi))
neutral_op can be NULL
More information about the Gcc-bugs
mailing list