tree-optimization/93397 delay converted reduction chain adjustment
authorRichard Biener <rguenther@suse.de>
Mon, 27 Jan 2020 09:30:29 +0000 (10:30 +0100)
committerRichard Biener <rguenther@suse.de>
Mon, 27 Jan 2020 09:31:53 +0000 (10:31 +0100)
commit1442bc31da61a7f6c7d7c526e0449cfd9a917cd5
tree3fdd69dba8c57ccb2faa36eb3007371982a278c9
parent86075aa5dd0b1ed3f6c9c67d0d3058c6c5c19d65
tree-optimization/93397 delay converted reduction chain adjustment

The following delays adjusting the SLP graph for converted reduction
chains to a point where the SLP build no longer can fail since we
otherwise fail to undo marking the conversion as a group.

2020-01-27  Richard Biener  <rguenther@suse.de>

PR tree-optimization/93397
* tree-vect-slp.c (vect_analyze_slp_instance): Delay
converted reduction chain SLP graph adjustment.

* gcc.dg/torture/pr93397.c: New testcase.
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr93397.c [new file with mode: 0644]
gcc/tree-vect-slp.c