diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2021-07-13 10:17:40 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2021-07-13 10:17:40 +0100 |
commit | bd5a69191f023b9bc2a1f83c5f7d5e591c333b9a (patch) | |
tree | 3829f0ef8a4af7e8999b9e27c5bc7ccee6b0e090 /gcc/tree-vectorizer.c | |
parent | 826c452e571884fcabbc73863eef5120e683d034 (diff) | |
download | gcc-bd5a69191f023b9bc2a1f83c5f7d5e591c333b9a.zip gcc-bd5a69191f023b9bc2a1f83c5f7d5e591c333b9a.tar.gz gcc-bd5a69191f023b9bc2a1f83c5f7d5e591c333b9a.tar.bz2 |
vect: Pass reduc_info to get_initial_def_for_reduction
Similarly to the previous patch, this one passes the reduc_info
to get_initial_def_for_reduction, rather than a stmt_vec_info that
lacks the metadata. This again becomes useful later.
gcc/
* tree-vect-loop.c (get_initial_def_for_reduction): Take the
reduc_info instead of the original stmt_vec_info.
(vect_transform_cycle_phi): Update accordingly.
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions