refactor SLP analysis
authorRichard Biener <rguenther@suse.de>
Fri, 6 Nov 2020 11:44:47 +0000 (12:44 +0100)
committerRichard Biener <rguenther@suse.de>
Fri, 6 Nov 2020 12:33:19 +0000 (13:33 +0100)
commitb88fdcc1c3675330031b0cff35ecf14b53616321
treeacea41810ab5d63f1e24cafce1d8af30b6c48a62
parent7144270e2de7ba4954729c75ca389ed3081134ee
refactor SLP analysis

This passes down the graph entry kind down to vect_analyze_slp_instance
which simplifies it and makes it a shallow wrapper around
vect_build_slp_instance.

2020-11-06  Richard Biener  <rguenther@suse.de>

* tree-vect-slp.c (vect_analyze_slp): Pass down the
SLP graph entry kind.
(vect_analyze_slp_instance): Simplify.
(vect_build_slp_instance): Adjust.
(vect_slp_check_for_constructors): Perform more
eligibility checks here.
gcc/tree-vect-slp.c