1 /* { dg-require-effective-target vect_int } */
9 unsigned int ub
[N
] = {0,3,6,9,12,15,18,121,24,27,113,33,36,39,42,45};
11 /* Vectorization of reduction using loop-aware SLP (with unrolling). */
13 __attribute__ ((noinline
))
17 unsigned int max
= 50;
19 for (i
= 0; i
< n
; i
++) {
20 max
= max
< ub
[2*i
] ? ub
[2*i
] : max
;
21 max
= max
< ub
[2*i
+ 1] ? ub
[2*i
+ 1] : max
;
39 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_int_min_max } } } */
40 /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { xfail vect_no_int_min_max } } } */