]> git.ipfire.org Git - thirdparty/gcc.git/commit
tree-optimization/111125 - avoid BB vectorization in novector loops
authorRichard Biener <rguenther@suse.de>
Thu, 24 Aug 2023 09:10:43 +0000 (11:10 +0200)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 24 Jun 2025 08:17:32 +0000 (10:17 +0200)
commitb908ad2b836b761f7b27b8dc650422ce9a7efecd
treef7d9797051444ea7af1eda942df63281f608ef20
parentd6159c3949cd85d96ac422a18129577c7ef9fbd9
tree-optimization/111125 - avoid BB vectorization in novector loops

When a loop is marked with

  #pragma GCC novector

the following makes sure to also skip BB vectorization for contained
blocks.  That avoids gcc.dg/vect/bb-slp-29.c failing on aarch64
because of extra BB vectorization therein.  I'm not specifically
dealing with sub-loops of novector loops, the desired semantics
isn't documented.

PR tree-optimization/111125
* tree-vect-slp.cc (vect_slp_function): Split at novector
loop entry, do not push blocks in novector loops.

(cherry picked from commit 43da77a4f1636280c4259402c9c2c543e6ec6c0b)
gcc/tree-vect-slp.cc