1 /* Disabling epilogues until we find a better way to deal with scans. */
2 /* { dg-additional-options "--param vect-epilogues-nomask=0" } */
3 /* PR tree-optimization/80631 */
7 int v
[8] = { 77, 1, 79, 3, 4, 3, 6, 7 };
9 __attribute__((noipa
)) void
13 for (k
= 7; k
>= 0; k
--)
20 __attribute__((noipa
)) void
24 for (k
= 7; k
>= 0; k
--)
31 __attribute__((noipa
)) void
35 for (k
= 7; k
>= 0; k
--)
42 __attribute__((noipa
)) void
46 for (k
= 7; k
>= 0; k
--)
53 __attribute__((noipa
)) void
57 for (k
= 7; k
>= 0; k
--)
76 /* { dg-final { scan-tree-dump-times "LOOP VECTORIZED" 5 "vect" { target vect_condition } } } */
77 /* { dg-final { scan-tree-dump-times "condition expression based on integer induction." 5 "vect" { target vect_condition xfail vect_fold_extract_last } } } */
78 /* { dg-final { scan-tree-dump-times "optimizing condition reduction with FOLD_EXTRACT_LAST" 5 "vect" { target { { ! vect_multiple_sizes } && vect_fold_extract_last } } } } */
79 /* { dg-final { scan-tree-dump "optimizing condition reduction with FOLD_EXTRACT_LAST" "vect" { target { vect_multiple_sizes && vect_fold_extract_last } } } } */