arm: fix typo in dg-require-effective-target [PR118089]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-early-break_63.c
blob1d9ff4ad6bacd6e80264dadf797c345f51c57299
1 /* { dg-add-options vect_early_break } */
2 /* Disabling epilogues until we find a better way to deal with scans. */
3 /* { dg-do compile } */
4 /* { dg-additional-options "--param vect-epilogues-nomask=0" } */
5 /* { dg-require-effective-target vect_long } */
6 /* { dg-require-effective-target vect_shift } */
7 /* { dg-additional-options "-fno-tree-scev-cprop" } */
9 /* Statement used outside the loop.
10 NOTE: SCEV disabled to ensure the live operation is not removed before
11 vectorization. */
12 __attribute__ ((noinline)) int
13 liveloop (int start, int n, int *x, int *y)
15 int i = start;
16 int j;
17 int ret;
19 for (j = 0; j < n; ++j)
21 i += 1;
22 x[j] = i;
23 ret = y[j];
25 return ret;
28 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
29 /* { dg-final { scan-tree-dump-times "vec_stmt_relevant_p: stmt live but not relevant" 1 "vect" } } */