aboutsummaryrefslogtreecommitdiff
path: root/gcc/coverage.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-11-16 09:28:03 +0100
committerRichard Biener <rguenther@suse.de>2020-11-16 11:14:44 +0100
commitd0a206abc6cbf0e992bf82bbb3584686eae05d34 (patch)
treede0135c3962f0de52c88f749031274a5e4fae456 /gcc/coverage.c
parent5e303cdee1ff01e4b302ef2f913c0bdd84ab967e (diff)
downloadgcc-d0a206abc6cbf0e992bf82bbb3584686eae05d34.zip
gcc-d0a206abc6cbf0e992bf82bbb3584686eae05d34.tar.gz
gcc-d0a206abc6cbf0e992bf82bbb3584686eae05d34.tar.bz2
tree-optimization/97838 - fix SLP leaf detection
This properly handles reduction PHI nodes with unrepresented initial value as leaf in the SLP graph. 2020-11-16 Richard Biener <rguenther@suse.de> PR tree-optimization/97838 * tree-vect-slp.c (vect_slp_build_vertices): Properly handle not backwards reachable cycles. (vect_optimize_slp): Check a node is leaf before marking it visited. * gcc.dg/vect/pr97838.c: New testcase.
Diffstat (limited to 'gcc/coverage.c')
0 files changed, 0 insertions, 0 deletions