https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95219
--- Comment #3 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:b2f26af32b5b031fce761aa090de9476a53e6e5a commit r11-519-gb2f26af32b5b031fce761aa090de9476a53e6e5a Author: Richard Biener <rguent...@suse.de> Date: Wed May 20 09:22:58 2020 +0200 tree-optimization/95219 - improve IV selection for induction This improves code generation with SSE2 for the testcase by making sure to only generate a single IV when the group size is a multiple of the vector size. It also adjusts the testcase which was passing before. 2020-05-20 Richard Biener <rguent...@suse.de> PR tree-optimization/95219 * tree-vect-loop.c (vectorizable_induction): Reduce group_size before computing the number of required IVs. * gcc.dg/vect/costmodel/x86_64/costmodel-pr30843.c: Adjust.