https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116126
--- Comment #4 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tamar Christina <tnfch...@gcc.gnu.org>: https://gcc.gnu.org/g:0a46245174123ad2802753e7fee689a541570ca0 commit r15-6808-g0a46245174123ad2802753e7fee689a541570ca0 Author: Alex Coplan <alex.cop...@arm.com> Date: Fri Jun 7 11:13:02 2024 +0000 vect: Don't guard scalar epilogue for inverted loops [PR118211] For loops with LOOP_VINFO_EARLY_BREAKS_VECT_PEELED we should always enter the scalar epilogue, so avoid emitting a guard on entry to the epilogue. gcc/ChangeLog: PR tree-optimization/118211 PR tree-optimization/116126 * tree-vect-loop-manip.cc (vect_do_peeling): Avoid emitting an epilogue guard for inverted early-exit loops.