On Thu, 5 Nov 2020, Tamar Christina wrote: > Hi All, > > This patch stores the SLP instance kind in the SLP instance so that we can use > it later when detecting load/store lanes support. > > This also changes the load/store lane support check to only check if the SLP > kind is a store. This means that in order for the load/lanes to work all > instances must be of kind store. > > Bootstrapped Regtested on aarch64-none-linux-gnu and no issues. > > Ok for master?
OK. Thanks, Richard. > Thanks, > Tamar > > gcc/ChangeLog: > > * tree-vect-loop.c (vect_analyze_loop_2): Check kind. > * tree-vect-slp.c (vect_build_slp_instance): New. > (enum slp_instance_kind): Move to... > * tree-vectorizer.h (enum slp_instance_kind): .. Here > (SLP_INSTANCE_KIND): New. > > -- Richard Biener <rguent...@suse.de> SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany; GF: Felix Imend