https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102318
--- 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:b6d8fa66e1bf08756cb4134735b5034e171f49d1 commit r12-3544-gb6d8fa66e1bf08756cb4134735b5034e171f49d1 Author: Richard Biener <rguent...@suse.de> Date: Wed Sep 15 10:20:34 2021 +0200 tree-optimization/102318 - reduction epilogue re-use This refines the fix for PR102226 to do the mode conversion from V2DI to VNx2DI separately from the sign-conversion, retaining the signedness of the saved accumulator as before the original fix. 2021-09-15 Richard Biener <rguent...@suse.de> PR tree-optimization/102318 * tree-vect-loop.c (vect_transform_cycle_phi): Revert previous change and do the mode conversion separately from the sign conversion. * gcc.dg/vect/pr102318.c: New testcase.