1 /* Disabling epilogues until we find a better way to deal with scans. */
2 /* { dg-additional-options "--param vect-epilogues-nomask=0" } */
3 /* { dg-do compile } */
4 /* { dg-require-effective-target vect_int } */
10 #define N (VECTOR_BITS / 16 + 10)
15 __attribute__ ((noinline
))
19 unsigned int intsum
= 0;
21 /* vectorization of reduction with induction, and widenning sum:
23 Need -fno-tree-scev-cprop or else the loop is eliminated. */
24 for (i
= 0; i
< N
; i
++)
32 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_widen_sum_hi_to_si } } } */
33 /* { dg-final { scan-tree-dump-times "vect_recog_widen_sum_pattern: detected(?:(?!Analysis failed).)*Analysis succeeded" 1 "vect" { target vect_widen_sum_hi_to_si } } } */