https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117790
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Alex Coplan <acop...@gcc.gnu.org>: https://gcc.gnu.org/g:cfdb961588ba318a78e995d2e2cde43130acd993 commit r15-7491-gcfdb961588ba318a78e995d2e2cde43130acd993 Author: Alex Coplan <alex.cop...@arm.com> Date: Tue Nov 26 17:48:14 2024 +0000 vect: Set counts of early break exit blocks correctly [PR117790] This adds missing code to correctly set the counts of the exit blocks we create when building the CFG for a vectorized early break loop. gcc/ChangeLog: PR tree-optimization/117790 * tree-vect-loop-manip.cc (slpeel_tree_duplicate_loop_to_edge_cfg): Set profile counts for {main,alt}_loop_exit_block.