[PATCH] middle-end: Store and use the SLP instance kind when aborting load/store lanes
Tamar Christina
tamar.christina@arm.com
Thu Nov 5 00:04:56 GMT 2020
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?
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.
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb13723.patch
Type: text/x-diff
Size: 2976 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201105/1a3f34f9/attachment-0001.bin>
More information about the Gcc-patches
mailing list