diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2021-07-13 10:17:39 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2021-07-13 10:17:39 +0100 |
commit | 826c452e571884fcabbc73863eef5120e683d034 (patch) | |
tree | f2fd7ce0d772c743c49a603ac4b3cb7dde290f78 /gcc/tree-vectorizer.h | |
parent | d592920c89973acd8d9f5b1f6b0526036ce63ccb (diff) | |
download | gcc-826c452e571884fcabbc73863eef5120e683d034.zip gcc-826c452e571884fcabbc73863eef5120e683d034.tar.gz gcc-826c452e571884fcabbc73863eef5120e683d034.tar.bz2 |
vect: Pass reduc_info to get_initial_defs_for_reduction
This patch passes the reduc_info to get_initial_defs_for_reduction,
so that the function can get general information from there rather
than from the first SLP statement. This isn't a win on its own,
but it becomes important with later patches.
gcc/
* tree-vect-loop.c (get_initial_defs_for_reduction): Take the
reduc_info as an additional parameter.
(vect_transform_cycle_phi): Update accordingly.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions