https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98291
--- 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:8837f82e4bab1b5405cf034eab9b3e83afc563ad commit r11-6434-g8837f82e4bab1b5405cf034eab9b3e83afc563ad Author: Richard Biener <rguent...@suse.de> Date: Mon Jan 4 09:53:11 2021 +0100 tree-optimization/98291 - allow SLP more vectorization of reductions When the VF is one a SLP reduction is in-order and thus we can vectorize even when the reduction op is not associative. 2021-01-04 Richard Biener <rguent...@suse.de> PR tree-optimization/98291 * tree-vect-loop.c (vectorizable_reduction): Bypass associativity check for SLP reductions with VF 1. * gcc.dg/vect/slp-reduc-11.c: New testcase. * gcc.dg/vect/vect-reduc-in-order-4.c: Adjust.