vect: Use LOOP_VINFO_DATAREFS and LOOP_VINFO_DDRS consistently
authorFei Yang <felix.yang@huawei.com>
Sat, 13 Jun 2020 02:42:49 +0000 (10:42 +0800)
committerRichard Biener <rguenther@suse.de>
Mon, 15 Jun 2020 09:10:58 +0000 (11:10 +0200)
commit8df82de27b5f16d5089b135d718e9ed15557ae8d
tree24d3ae1110f199cf5c6c80c8426d7c8ecc7155c2
parent4331490bc0ef959062e46d8133ae943cf0a05209
vect: Use LOOP_VINFO_DATAREFS and LOOP_VINFO_DDRS consistently

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.

2020-06-13  Felix Yang  <felix.yang@huawei.com>

gcc/
* 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.
gcc/tree-vect-data-refs.c
gcc/tree-vect-loop.c