rewrite hybrid SLP detection
authorRichard Biener <rguenther@suse.de>
Wed, 25 Mar 2020 13:41:51 +0000 (14:41 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 5 May 2020 13:46:06 +0000 (15:46 +0200)
commitfae545fb033970348210c52597a246445efe4160
tree5288ad4cadc1df65788165a571c9e2e339e1f2fc
parent3fbf43b9bc060e2904abe64e870868b9a4bfce13
rewrite hybrid SLP detection

This rewrites hybrid SLP detection to be simpler and cope with
group size changes in the SLP graph.  In particular detection
works starting from non-SLP stmts following use->def chains
rather than walking the SLP graph and following def->use chains.

It's all temporary of course since non-SLP and thus hybrid SLP
will go away.

2020-05-05  Richard Biener  <rguenther@suse.de>

* tree-vect-slp.c (struct vdhs_data): New.
(vect_detect_hybrid_slp): New walker.
(vect_detect_hybrid_slp): Rewrite.
gcc/ChangeLog
gcc/tree-vect-slp.c