omp-low.c (lower_rec_input_clauses): For if (0) or simdlen (1) set max_vf to 1.
commitfed2a43c018366566c3b5b73269f863444b06163
authorJakub Jelinek <jakub@redhat.com>
Wed, 15 May 2019 21:42:46 +0000 (15 23:42 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Wed, 15 May 2019 21:42:46 +0000 (15 23:42 +0200)
treed2de403c2a4b545627c84b4ad510e1c7f9b64307
parentc42b72a7ddc52c65a0a6b3f9127224c8770ac6da
omp-low.c (lower_rec_input_clauses): For if (0) or simdlen (1) set max_vf to 1.

* omp-low.c (lower_rec_input_clauses): For if (0) or simdlen (1) set
max_vf to 1.
* omp-expand.c (expand_omp_simd): For if (0) or simdlen (1) clear
safelen_int and set loop->dont_vectorize.

* c-c++-common/gomp/simd8.c: New test.

From-SVN: r271270
gcc/ChangeLog
gcc/omp-expand.c
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/gomp/simd8.c [new file with mode: 0644]