diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2021-07-13 10:17:38 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2021-07-13 10:17:38 +0100 |
commit | 32b8edd5297c9193b81122fdd55316fcbf0959dc (patch) | |
tree | c26baf3e12275a9c2770dfca606c26d4fe317b9c /gcc/tree-vect-loop-manip.c | |
parent | 81ad6bfc078ca36a42446e2f2295102ffaac9ee1 (diff) | |
download | gcc-32b8edd5297c9193b81122fdd55316fcbf0959dc.zip gcc-32b8edd5297c9193b81122fdd55316fcbf0959dc.tar.gz gcc-32b8edd5297c9193b81122fdd55316fcbf0959dc.tar.bz2 |
vect: Ensure reduc_inputs always have vectype
Vector reduction accumulators can differ in signedness from the
final scalar result. The conversions to handle that case were
distributed through vect_create_epilog_for_reduction; this patch
does the conversion up-front instead.
gcc/
* tree-vect-loop.c (vect_create_epilog_for_reduction): Convert
the phi results to vectype after creating them. Remove later
conversion code that thus becomes redundant.
Diffstat (limited to 'gcc/tree-vect-loop-manip.c')
0 files changed, 0 insertions, 0 deletions