1 /* Disabling epilogues until we find a better way to deal with scans. */
2 /* { dg-additional-options "--param vect-epilogues-nomask=0" } */
3 /* { dg-require-effective-target vect_int } */
11 unsigned int ub
[N
] = {0,3,6,9,12,15,18,121,24,27,113,33,36,39,42,45};
13 /* Vectorization of reduction using loop-aware SLP (with unrolling). */
15 __attribute__ ((noinline
))
19 unsigned int max
= 50;
21 for (i
= 0; i
< n
; i
++) {
22 max
= max
< ub
[2*i
] ? ub
[2*i
] : max
;
23 max
= max
< ub
[2*i
+ 1] ? ub
[2*i
+ 1] : max
;
41 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_int_min_max } } } */
42 /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { xfail vect_no_int_min_max } } } */