]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/109469 - SLP with returns-twice region start
authorRichard Biener <rguenther@suse.de>
Tue, 11 Apr 2023 14:06:12 +0000 (16:06 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 17 Apr 2023 09:13:17 +0000 (11:13 +0200)
commit9cc16b95d5d63b18cbc0aa780ffb6b460c791351
tree72aa8928e66834c19b47d1c01f6e988695ac0cda
parent42b3d387f7335a4bc8846e3b7a2a78fb47be68b2
tree-optimization/109469 - SLP with returns-twice region start

The following avoids an SLP region starting with a returns-twice
call where we cannot insert stmts at the head.

PR tree-optimization/109469
* tree-vect-slp.cc (vect_slp_function): Skip region starts with
a returns-twice call.

* gcc.dg/torture/pr109469.c: New testcase.

(cherry picked from commit 2d7ad38707e1fd71193d440198cc0726092b9015)
gcc/testsuite/gcc.dg/torture/pr109469.c [new file with mode: 0644]
gcc/tree-vect-slp.cc
This page took 0.0734 seconds and 6 git commands to generate.