https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127805
--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Alfie Richards <[email protected]>: https://gcc.gnu.org/g:e887376de60a6ae60b81156064cb413db8c90353 commit r17-5092-ge887376de60a6ae60b81156064cb413db8c90353 Author: Alfie Richards <[email protected]> Date: Mon Oct 12 13:24:21 2026 +0000 fix: Use LOOP_VINFO_MAIN_EXIT for final iv edge [PR 127805] Use LOOP_VINFO_MAIN_EXIT instead of exit_edge when updating the final IV for peeled control. PR tree-optimization/127805 gcc/ChangeLog: * tree-vect-loop-manip.cc (vect_set_loop_condition_partial_vectors_avx512): Use LOOP_VINFO_MAIN_EXIT instead of exit_edge for final_iv. (vect_set_loop_condition_normal): Likewise.
