[PATCH] vect: Use LOOP_VINFO_DATAREFS and LOOP_VINFO_DDRS consistently
Yangfei (Felix)
felix.yang@huawei.com
Sat Jun 13 02:45:51 GMT 2020
Hi,
This is minor code refactorings in tree-vect-data-refs.c and tree-vect-loop.c.
Use LOOP_VINFO_DATAREFS and LOOP_VINFO_DDRS when possible and rename
several parameters to make code more consistent.
Bootstrapped and tested on aarch64-linux-gnu. OK?
Thanks,
Felix
gcc/
+2020-06-13 Felix Yang <felix.yang@huawei.com>
+
+ * tree-vect-data-refs.c (vect_verify_datarefs_alignment): Rename
+ parameter to loop_vinfo and update uses. Use LOOP_VINFO_DATAREFS
+ when possible.
+ (vect_analyze_data_refs_alignment): Likewise, and use LOOP_VINFO_DDRS
+ when possible.
+ * tree-vect-loop.c (vect_dissolve_slp_only_groups): Use
+ LOOP_VINFO_DATAREFS when possible.
+ (update_epilogue_loop_vinfo): Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-v1.diff
Type: application/octet-stream
Size: 4299 bytes
Desc: patch-v1.diff
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200613/a97de5aa/attachment.obj>
More information about the Gcc-patches
mailing list