]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/113385 - wrong loop father with early exit vectorization
authorRichard Biener <rguenther@suse.de>
Mon, 15 Jan 2024 09:03:59 +0000 (10:03 +0100)
committerRichard Biener <rguenther@suse.de>
Mon, 15 Jan 2024 11:27:11 +0000 (12:27 +0100)
commitafac1bd33657a5054f5e6ea6746c25bbb70b82f2
treef0bb926849ad2b87cd05c3c7c2989a886afa1bb6
parente037a0fa040ee1a3500c8523f3ffa713069ac283
tree-optimization/113385 - wrong loop father with early exit vectorization

The following avoids splitting an edge before redirecting it.  This
allows the loop father of the new block to be correct in the first
place.

PR tree-optimization/113385
* tree-vect-loop-manip.cc (slpeel_tree_duplicate_loop_to_edge_cfg):
First redirect, then split the exit edge.
gcc/tree-vect-loop-manip.cc