1 /* { dg-require-effective-target vect_condition } */
8 int c
[N
] = {3,2,1,10,1,42,3,4,50,9,32,8,11,10,1,2};
9 int a
[N
+1] = {0,16,32,48,64,128,256,512,0,16,32,48,64,128,256,512,1024};
11 __attribute__ ((noinline
)) void
15 int curr_a
, flag
, next_a
;
19 for (i
= 0; i
< N
; i
++)
23 curr_a
= flag
? curr_a
: next_a
;
43 /* The order of computation should not be changed for cond_expr, therefore,
44 it cannot be vectorized in reduction. */
45 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
46 /* { dg-final { cleanup-tree-dump "vect" } } */