1 /* { dg-do compile { target { aarch64*-*-* } } } */
2 /* { dg-additional-options "-march=armv8.2-a+sve -fdump-tree-ifcvt-raw -Ofast" { target { aarch64*-*-* } } } */
4 extern int __attribute__ ((simd
, const)) fn (int);
7 const float lim
= 101.0;
8 const float cst
= -1.0;
12 float a
[20] = { [0 ... 9] = 1.7014118e39
, /* If branch. */
13 [10 ... 19] = 100.0 }; /* Else branch. */
18 for (int i
= 0; i
< N
; i
+= 1)
29 /* { dg-final { scan-tree-dump {gimple_assign <gt_expr, _12, _1, 1.01e\+2, NULL>} ifcvt } } */
30 /* { dg-final { scan-tree-dump {gimple_assign <bit_not_expr, _34, _12, NULL, NULL>} ifcvt } } */
31 /* { dg-final { scan-tree-dump {gimple_call <.MASK_CALL, _3, fn, _2, _34>} ifcvt } } */