https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95309
--- Comment #2 from CVS 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:dc0c0196340f7ac58b10d0042d7cea776d6f7864 commit r11-615-gdc0c0196340f7ac58b10d0042d7cea776d6f7864 Author: Richard Biener <rguent...@suse.de> Date: Mon May 25 13:06:03 2020 +0200 tree-optimization/95309 - fix invariant SLP node costing This makes sure to compute SLP_TREE_NUMBER_OF_VEC_STMTS during SLP analysis even for invariant / external nodes so costing properly knows what to cost. 2020-05-25 Richard Biener <rguent...@suse.de> PR tree-optimization/95309 * tree-vect-slp.c (vect_get_constant_vectors): Move number of vector computation ... (vect_slp_analyze_node_operations): ... to analysis phase.