[33/46] Use stmt_vec_infos instead of vec_info/gimple stmt pairs
authorRichard Sandiford <richard.sandiford@arm.com>
Tue, 31 Jul 2018 14:25:35 +0000 (14:25 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Tue, 31 Jul 2018 14:25:35 +0000 (14:25 +0000)
commitd7609678843a0711cf77b5530149658c3997a906
tree43accf7beeacb7cbe3c38566062902ee84b9ebb0
parent32e8e429c685629fc4363138f564f41de47aa7a2
[33/46] Use stmt_vec_infos instead of vec_info/gimple stmt pairs

This patch makes vect_record_max_nunits and vect_record_base_alignment
take a stmt_vec_info instead of a vec_info/gimple pair.

2018-07-31  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* tree-vect-data-refs.c (vect_record_base_alignment): Replace vec_info
and gimple stmt arguments with a stmt_vec_info.
(vect_record_base_alignments): Update calls accordingly.
* tree-vect-slp.c (vect_record_max_nunits): Replace vec_info
and gimple stmt arguments with a stmt_vec_info.
(vect_build_slp_tree_1): Remove vinfo argument and update call
to vect_record_max_nunits.
(vect_build_slp_tree_2): Update calls to vect_build_slp_tree_1
and vect_record_max_nunits.

From-SVN: r263148
gcc/ChangeLog
gcc/tree-vect-data-refs.c
gcc/tree-vect-slp.c