https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102847
--- Comment #10 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:8516963942b0a8f06fa8f5ebd7c37f9edea151ac commit r12-4604-g8516963942b0a8f06fa8f5ebd7c37f9edea151ac Author: Richard Biener <rguent...@suse.de> Date: Thu Oct 21 12:10:20 2021 +0200 tree-optimization/102847 - adjust VMAT_INVARIANT load costing This adds the missing scalar load cost in the prologue. 2021-10-21 Richard Biener <rguent...@suse.de> PR tree-optimization/102847 * tree-vect-stmts.c (vect_model_load_cost): Add the scalar load cost in the prologue for VMAT_INVARIANT.