aboutsummaryrefslogtreecommitdiff
path: root/libgomp
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-11-15 11:37:56 +0100
committerRichard Biener <rguenther@suse.de>2021-11-15 13:07:57 +0100
commit220bd61874cf114667b44f9ded76ed0639eb278b (patch)
treee7fdc16ddcbe8866feed8fd504911e09024b0ddc /libgomp
parent4d281ff7ddd8f6365943c0a622107f92315bb8a6 (diff)
downloadgcc-220bd61874cf114667b44f9ded76ed0639eb278b.zip
gcc-220bd61874cf114667b44f9ded76ed0639eb278b.tar.gz
gcc-220bd61874cf114667b44f9ded76ed0639eb278b.tar.bz2
tree-optimization/103237 - avoid vectorizing unhandled double reductions
Double reductions which have multiple LC PHIs in the inner loop are not handled correctly during transformation since those PHIs are not properly classified as reduction. The following disables vectorizing them. 2021-11-15 Richard Biener <rguenther@suse.de> PR tree-optimization/103237 * tree-vect-loop.c (vect_is_simple_reduction): Fail for double reductions with multiple inner loop LC PHI nodes. * gcc.dg/torture/pr103237.c: New testcase.
Diffstat (limited to 'libgomp')
0 files changed, 0 insertions, 0 deletions