diff options
author | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2020-01-10 13:48:35 +0000 |
---|---|---|
committer | Andre Vieira <avieira@gcc.gnu.org> | 2020-01-10 13:48:35 +0000 |
commit | 9c158322b6fdb47666f49c001dc54ea9f5c853e9 (patch) | |
tree | 5a43a3021e706a2d8351278907be2eb3cd8b7640 /gcc/tree-vectorizer.h | |
parent | 67723321fb917e94acf5844c2524ca3d9655ff7b (diff) | |
download | gcc-9c158322b6fdb47666f49c001dc54ea9f5c853e9.zip gcc-9c158322b6fdb47666f49c001dc54ea9f5c853e9.tar.gz gcc-9c158322b6fdb47666f49c001dc54ea9f5c853e9.tar.bz2 |
[vect] Add missing comment
gcc/ChangeLog:
2020-01-10 Andre Vieira <andre.simoesdiasvieira@arm.com>
* tree-vectorizer.h (get_dr_vinfo_offset): Add missing function
comment.
From-SVN: r280108
Diffstat (limited to 'gcc/tree-vectorizer.h')
-rw-r--r-- | gcc/tree-vectorizer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree-vectorizer.h b/gcc/tree-vectorizer.h index 58c1232..375fba2 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) { |