On Sat, Jun 13, 2020 at 4:46 AM Yangfei (Felix) <felix.y...@huawei.com> wrote: > > 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?
OK. Richard. > Thanks, > Felix > > gcc/ > > +2020-06-13 Felix Yang <felix.y...@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.