Cleanup BB vectorization roots handling
commitf9e8072f917301f5a794b4935edc40268bf1b362
authorRichard Biener <rguenther@suse.de>
Tue, 15 Aug 2023 12:39:15 +0000 (15 14:39 +0200)
committerRichard Biener <rguenther@suse.de>
Tue, 15 Aug 2023 13:26:46 +0000 (15 15:26 +0200)
tree6be758984e0df5342a4360b19386c307c15c956d
parentf049868d8db773da4be61d82025e97453d6e9f2b
Cleanup BB vectorization roots handling

The following moves CONSTRUCTOR handling into the generic BB
vectorization roots handling, removing a special case and finally
renaming the function now consisting of more than just constructor
detection.

* tree-vect-slp.cc (vect_analyze_slp_instance): Remove
slp_inst_kind_ctor handling.
(vect_analyze_slp): Simplify.
(vect_build_slp_instance): Dump when we analyze a CTOR.
(vect_slp_check_for_constructors): Rename to ...
(vect_slp_check_for_roots): ... this.  Register a
slp_root for CONSTRUCTORs instead of shoving them to
the set of grouped stores.
(vect_slp_analyze_bb_1): Adjust.
gcc/tree-vect-slp.cc