]> git.ipfire.org Git - thirdparty/gcc.git/commit
vect: Set counts of early break exit blocks correctly [PR117790]
authorAlex Coplan <alex.coplan@arm.com>
Tue, 26 Nov 2024 17:48:14 +0000 (17:48 +0000)
committerAlex Coplan <alex.coplan@arm.com>
Wed, 12 Feb 2025 15:03:40 +0000 (15:03 +0000)
commitcfdb961588ba318a78e995d2e2cde43130acd993
treee8f28044e3c108b2cadeb6191200e50894227a69
parent3880271e94b7598b4f5d98c615b7fcddddee6d4c
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.
gcc/tree-vect-loop-manip.cc