From: Andre Vieira Date: Fri, 10 Jan 2020 13:48:35 +0000 (+0000) Subject: [vect] Add missing comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c158322b6fdb47666f49c001dc54ea9f5c853e9;p=gcc.git [vect] Add missing comment gcc/ChangeLog: 2020-01-10 Andre Vieira * tree-vectorizer.h (get_dr_vinfo_offset): Add missing function comment. From-SVN: r280108 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e8ea7b79f4a..f8298abebd7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2020-01-10 Andre Vieira + + * tree-vectorizer.h (get_dr_vinfo_offset): Add missing function + comment. + 2020-01-10 Andre Vieira * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Use diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h index 58c12323fc9..375fba28d20 100644 --- a/gcc/tree-vectorizer.h +++ b/gcc/tree-vectorizer.h @@ -1489,6 +1489,10 @@ vect_dr_behavior (dr_vec_info *dr_info) return &STMT_VINFO_DR_WRT_VEC_LOOP (stmt_info); } +/* Return the offset calculated by adding the offset of this DR_INFO to the + corresponding data_reference's offset. If CHECK_OUTER then use + vect_dr_behavior to select the appropriate data_reference to use. */ + inline tree get_dr_vinfo_offset (dr_vec_info *dr_info, bool check_outer = false) {