tree-optimization/113026 - fix vector epilogue maximum iter bound
commitc22cf7a7a77bf9245bd0790b21695440208c3aa5
authorRichard Biener <rguenther@suse.de>
Tue, 9 Jan 2024 10:49:50 +0000 (9 11:49 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 9 Jan 2024 12:31:20 +0000 (9 13:31 +0100)
tree89625ef7e50cb1dbda0c7350698a7f2a01a35b4d
parentaaa9467618a549608dfe837ef6e0f58581bf3b3a
tree-optimization/113026 - fix vector epilogue maximum iter bound

The late amendment with a limit based on VF was redundant and wrong
for peeled early exits.  The following moves the adjustment done
when we don't have a skip edge down to the place where the already
existing VF based max iter check is done and removes the amendment.

PR tree-optimization/113026
* tree-vect-loop-manip.cc (vect_do_peeling): Remove
redundant and wrong niter bound setting.  Move niter
bound adjustment down.
gcc/tree-vect-loop-manip.cc