1 /* { dg-require-effective-target vect_simd_clones } */
2 /* { dg-additional-options "-fopenmp-simd" } */
3 /* { dg-additional-options "-mavx" { target avx_runtime } } */
13 #pragma omp declare simd linear(val(b):-3), notinbranch
14 __attribute__((noinline
)) int
20 __attribute__((noinline
, noclone
)) void
25 for (i
= 0; i
< N
; ++i
)
26 array
[i
] = foo (i
>> 1, -i
* 3);
36 for (i
= 0; i
< N
; i
++)
37 if (array
[i
] != ((i
>> 1) + (-3 * i
)))