https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110935
--- Comment #2 from rsandifo at gcc dot gnu.org <rsandifo at gcc dot gnu.org> --- If we were going to do this in vect_optimize_slp_pass, I think we'd need a node for the reduction in the pass's internal graph. We could then record that all input layouts have zero cost. What's the reason for not having an SLP node for the reduction? Isn't it a similar kind of sink to a store or constructor?