tree-optimization/97733 - fix SLP of reductions with zero relevant
authorRichard Biener <rguenther@suse.de>
Fri, 6 Nov 2020 07:34:16 +0000 (08:34 +0100)
committerRichard Biener <rguenther@suse.de>
Fri, 6 Nov 2020 07:34:16 +0000 (08:34 +0100)
commit2210bf6dec4a9868c828af546890805cac353f84
tree50f12e1adaaab0449f89bdfd063569098bcda14d
parentc283a711c850efaab4fe3bca5ef7200eb854bba1
tree-optimization/97733 - fix SLP of reductions with zero relevant

This adds a missing check.

2020-11-06  Richard Biener  <rguenther@suse.de>

PR tree-optimization/97733
* tree-vect-slp.c (vect_analyze_slp_instance): If less
than two reductions were relevant or live do nothing.
gcc/tree-vect-slp.c