aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-10-12 09:09:46 +0200
committerRichard Biener <rguenther@suse.de>2023-10-12 10:18:56 +0200
commit05f98310b54da95e468d799f4a910174320cccbb (patch)
tree8991bc3bf65e3225de1113cc02a71e242bb26915 /libgcc
parent5fbd91b12cd3e7b178842bf5624bdcd316832012 (diff)
downloadgcc-05f98310b54da95e468d799f4a910174320cccbb.zip
gcc-05f98310b54da95e468d799f4a910174320cccbb.tar.gz
gcc-05f98310b54da95e468d799f4a910174320cccbb.tar.bz2
tree-optimization/111764 - wrong reduction vectorization
The following removes a misguided attempt to allow x + x in a reduction path, also allowing x * x which isn't valid. x + x actually never arrives this way but instead is canonicalized to 2 * x. This makes reduction path handling consistent with how we handle the single-stmt reduction case. PR tree-optimization/111764 * tree-vect-loop.cc (check_reduction_path): Remove the attempt to allow x + x via special-casing of assigns. * gcc.dg/vect/pr111764.c: New testcase.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions