tree-optimization/97486 - avoid edge insertion in SLP vectorizing
authorRichard Biener <rguenther@suse.de>
Mon, 19 Oct 2020 09:30:46 +0000 (11:30 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 19 Oct 2020 11:22:49 +0000 (13:22 +0200)
commit361c378dda1f17435ecc364ab246978784df2482
treefa0ac260fb9c5eb23a138beee8a99440688d8e55
parent4ba60194bb668fa6749640d27e9194fe50b9b42c
tree-optimization/97486 - avoid edge insertion in SLP vectorizing

This avoids edge inserting and eventual splitting during BB SLP
vectorization for now.

2020-10-19  Richard Biener  <rguenther@suse.de>

PR tree-optimization/97486
* tree-vect-slp.c (vect_slp_function): Split after stmts
ending a BB.

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