]> git.ipfire.org Git - thirdparty/gcc.git/commit
Do not query further vector epilogues after a masked epilogue master trunk
authorRichard Biener <rguenther@suse.de>
Wed, 2 Jul 2025 11:44:59 +0000 (13:44 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 2 Jul 2025 12:56:40 +0000 (14:56 +0200)
commit57d30924e2b3887a1aedc6102daa67bc3272ace7
tree64b1ec3e8d8c9bfe24450dedb938683ad4fca5c7
parent3aff13cfabdb8513c619d1e0347035b8d47f0edb
Do not query further vector epilogues after a masked epilogue

When doing --param vect-partial-vector-usage=1 we'd continue querying
the target whether it wants more vector epilogues, but when it comes
back with a suggestion we then might iterate endlessly.  Do not
even ask the target when we decided for the last epilogue to be
one with partial vectors.

PR tree-optimization/120927
* tree-vect-loop.cc (vect_analyze_loop): Stop querying
further epilogues after one with partial vectors.
gcc/tree-vect-loop.cc