https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114099
--- Comment #10 from GCC 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:fb68e2cac1283f731a3a979cb714621afb1ddfcc commit r14-9182-gfb68e2cac1283f731a3a979cb714621afb1ddfcc Author: Richard Biener <rguent...@suse.de> Date: Mon Feb 26 12:27:42 2024 +0100 tree-optimization/114099 - virtual LC PHIs and early exit vect In some cases exits can lack LC PHI nodes for the virtual operand. We have to create them when the epilog loop requires them which also allows us to remove some only halfway correct fixups. This is the variant triggering for alternate exits. PR tree-optimization/114099 * tree-vect-loop-manip.cc (slpeel_tree_duplicate_loop_to_edge_cfg): Create and fill in a needed virtual LC PHI for the alternate exits. Remove code dealing with that missing. * gcc.dg/vect/vect-early-break_120-pr114099.c: New testcase.