Debian Codegraph @

gcc/testsuite/gcc.dg/vect/vect-simd-clone-21.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_simd_clones } */
3 /* { dg-additional-options "-fopenmp-simd" } */
4
5 #pragma omp declare simd simdlen(4) inbranch
6 __attribute__((noinline)) int
7 foo (int a, int b)
8 {
9 return a + b;
10 }
11
12 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 4 "vect" { target i?86-*-* x86_64-*-* } } } */
13 /* if-conversion shouldn't need to resort to masked stores for the result
14 array created by OMP lowering since that's automatic and does not have
15 its address taken. */
16 /* { dg-final { scan-tree-dump-not "MASK_STORE" "vect" } } */