]> git.ipfire.org Git - thirdparty/gcc.git/commit
Fail early when SLP instance build fails
authorRichard Biener <rguenther@suse.de>
Mon, 4 Aug 2025 11:29:16 +0000 (13:29 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 4 Aug 2025 12:56:14 +0000 (14:56 +0200)
commit446aac86a4bbdf38868c64410cb0e7823299f98a
tree274fe22cf7e7c01f80e89544b637286c675ba9a0
parentb9f443b6177881c490fbce9ba65b86a7cd65f11f
Fail early when SLP instance build fails

The following makes us fail earlier when parts of the SLP build fails.
Currently we rely on hybrid stmt detection later to discover not all
stmts are covered by SLP, but this code should go away.  I've also
seen a case of a missed gcond SLP build that went undetected.  So
the following makes us fail during vect_analyze_slp if any of the
SLP instances we expect to discover fails.

* tree-vect-slp.cc (vect_analyze_slp): When analyzing a loop
and slp instance discovery fails, immediately fail the whole
process.
gcc/tree-vect-slp.cc