]> git.ipfire.org Git - thirdparty/gcc.git/commit
vect: Don't guard scalar epilogue for inverted loops [PR118211]
authorAlex Coplan <alex.coplan@arm.com>
Fri, 7 Jun 2024 11:13:02 +0000 (11:13 +0000)
committerTamar Christina <tamar.christina@arm.com>
Fri, 10 Jan 2025 21:21:06 +0000 (21:21 +0000)
commit0a46245174123ad2802753e7fee689a541570ca0
treeeebc9ac42d7981464c265591c745cf2acf328136
parent68326d5d1a593dc0bf098c03aac25916168bc5a9
vect: Don't guard scalar epilogue for inverted loops [PR118211]

For loops with LOOP_VINFO_EARLY_BREAKS_VECT_PEELED we should always
enter the scalar epilogue, so avoid emitting a guard on entry to the
epilogue.

gcc/ChangeLog:

PR tree-optimization/118211
PR tree-optimization/116126
* tree-vect-loop-manip.cc (vect_do_peeling): Avoid emitting an
epilogue guard for inverted early-exit loops.
gcc/tree-vect-loop-manip.cc