]> 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 <rguenther@suse.de>
Thu, 24 Aug 2023 11:01:55 +0000 (13:01 +0200)
commit43da77a4f1636280c4259402c9c2c543e6ec6c0b
tree331ee2615562e0a2595414da699202ccc3aa5e8a
parent207a5daa9dcf31e367152163ad2a2ab4a0858967
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.
gcc/tree-vect-slp.cc