Delay SLP instance loads gathering
authorRichard Biener <rguenther@suse.de>
Mon, 16 Nov 2020 13:26:20 +0000 (14:26 +0100)
committerRichard Biener <rguenther@suse.de>
Mon, 16 Nov 2020 14:21:25 +0000 (15:21 +0100)
commitc84df34aec3bb845b22384c7e85f0449ca00dd99
treed20af3436e7286e5f93606651a4007e2d17f06aa
parentd1746388db6481d87f5a801d79b17566fc6888da
Delay SLP instance loads gathering

This delays filling SLP_INSTANCE_LOADS.

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

* tree-vectorizer.h (vect_gather_slp_loads): Declare.
* tree-vect-loop.c (vect_analyze_loop_2): Call
vect_gather_slp_loads.
* tree-vect-slp.c (vect_build_slp_instance): Do not gather
SLP loads here.
(vect_gather_slp_loads): Remove wrapper, new function.
(vect_slp_analyze_bb_1): Call it.
gcc/tree-vect-loop.c
gcc/tree-vect-slp.c
gcc/tree-vectorizer.h