1 /* { dg-require-effective-target vect_float } */
2 /* { dg-additional-options "-fdump-tree-optimized-details-blocks" } */
9 __attribute__ ((noinline
)) int
14 float b
[N
] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45};
16 /* Reverse access and forward access. */
17 for (i
= N
; i
> 0; i
--)
24 for (i
= 0; i
<N
; i
++)
39 /* Requires reverse for SVE, which is implemented by a later patch.
40 Until then we fall back to Advanced SIMD and successfully vectorize
42 /* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" { target { ! vect_perm } xfail { aarch64_sve && vect_variable_length } } } } */
43 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target vect_perm } } } */
45 /* { dg-final { scan-tree-dump-not "Invalid sum" "optimized" } } */