aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.c
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2021-07-13 10:17:41 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2021-07-13 10:17:41 +0100
commit221bdb333b0917c927aec4d367a72e3667087d7a (patch)
tree6fd4012ee3b4ee842f56c10603f28154cee99f04 /gcc/tree-vectorizer.c
parentbd5a69191f023b9bc2a1f83c5f7d5e591c333b9a (diff)
downloadgcc-221bdb333b0917c927aec4d367a72e3667087d7a.zip
gcc-221bdb333b0917c927aec4d367a72e3667087d7a.tar.gz
gcc-221bdb333b0917c927aec4d367a72e3667087d7a.tar.bz2
vect: Generalise neutral_op_for_slp_reduction
This patch generalises the interface to neutral_op_for_slp_reduction so that it can be used for non-SLP reductions too. This isn't much of a win on its own, but it helps later patches. gcc/ * tree-vect-loop.c (neutral_op_for_slp_reduction): Replace with... (neutral_op_for_reduction): ...this, providing a more general interface. (vect_create_epilog_for_reduction): Update accordingly. (vectorizable_reduction): Likewise. (vect_transform_cycle_phi): Likewise.
Diffstat (limited to 'gcc/tree-vectorizer.c')
0 files changed, 0 insertions, 0 deletions