1 /* { dg-require-effective-target vect_condition } */
5 extern void abort (void) __attribute__ ((noreturn
));
9 /* Condition reduction with no valid matches at runtime. */
12 condition_reduction (int *a
, int min_v
)
16 for (int i
= 0; i
< N
; i
++)
27 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
28 1, 2, 3, 4, 5, 6, 7, 8, 9, 10,
29 21, 22, 23, 24, 25, 26, 27
34 int ret
= condition_reduction (a
, 46);
36 /* loop should never have found a value. */
43 /* { dg-final { scan-tree-dump-times "LOOP VECTORIZED" 2 "vect" } } */
44 /* { dg-final { scan-tree-dump-times "optimizing condition reduction with FOLD_EXTRACT_LAST" 4 "vect" { target vect_fold_extract_last } } } */
45 /* { dg-final { scan-tree-dump-times "condition expression based on integer induction." 4 "vect" { target { ! vect_fold_extract_last } } } } */