]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/110563 - simplify epilogue VF checks
authorRichard Biener <rguenther@suse.de>
Thu, 6 Jul 2023 07:56:23 +0000 (09:56 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 6 Jul 2023 10:48:56 +0000 (12:48 +0200)
commitdeebf06a1207bf7d84f4bebc462137d9436ee6dd
tree871aea9f74a7a2c5c8f16c0094bc07f94d671dbf
parent79a90e69ec9faf53ba84391f3c558e552711f6a6
tree-optimization/110563 - simplify epilogue VF checks

The following consolidates an assert that now hits for ppc64le
with an earlier check we already do, simplifying
vect_determine_partial_vectors_and_peeling and getting rid of
its now redundant argument.

PR tree-optimization/110563
* tree-vectorizer.h (vect_determine_partial_vectors_and_peeling):
Remove second argument.
* tree-vect-loop.cc (vect_determine_partial_vectors_and_peeling):
Remove for_epilogue_p argument.  Merge assert ...
(vect_analyze_loop_2): ... with check done before determining
partial vectors by moving it after.
* tree-vect-loop-manip.cc (vect_do_peeling): Adjust.
gcc/tree-vect-loop-manip.cc
gcc/tree-vect-loop.cc
gcc/tree-vectorizer.h
This page took 0.05517 seconds and 5 git commands to generate.