https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115254
--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>: https://gcc.gnu.org/g:eaaa4b88038d4d6eda1b20ab662f1568fd9be31f commit r15-859-geaaa4b88038d4d6eda1b20ab662f1568fd9be31f Author: Richard Biener <rguent...@suse.de> Date: Fri Sep 29 15:12:54 2023 +0200 tree-optimization/115254 - don't account single-lane SLP against discovery limit The following avoids accounting single-lane SLP to the discovery limit. As the two testcases show this makes discovery fail, unfortunately even not the same across targets. The following should fix two FAILs for GCN as a side-effect. PR tree-optimization/115254 * tree-vect-slp.cc (vect_build_slp_tree): Only account multi-lane SLP to limit. * gcc.dg/vect/slp-cond-2-big-array.c: Expect 4 times SLP. * gcc.dg/vect/slp-cond-2.c: Likewise.