Refactor try_vectorize_loop_1
authorRichard Biener <rguenther@suse.de>
Wed, 27 Oct 2021 08:35:24 +0000 (10:35 +0200)
committerRichard Biener <rguenther@suse.de>
Wed, 27 Oct 2021 09:30:16 +0000 (11:30 +0200)
commitb528e226d19335796c355d202c8e8686506680cd
tree8bf23f0be0ddd72ee8951942c00ee45515913214
parent7f899b23f36f94f907a025d3eeaf3e4640544927
Refactor try_vectorize_loop_1

This refactors epilogue loop handling in try_vectorize_loop_1 to not
suggest we're analyzing those there by splitting out the transform
phase which then can handle the epilogues.

2021-10-27  Richard Biener  <rguenther@suse.de>

* tree-vectorizer.c (vect_transform_loops): New function,
split out from ...
(try_vectorize_loop_1): ... here.  Simplify as epilogues
are now fully handled in the split part.
gcc/tree-vectorizer.c