* tree-ssa-loop-prefetch.c (determine_unroll_factor): Bound the unroll
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / prefetch-4.c
blob8a5230eedd3471d3752ecc0d91ec4956004d86fd
1 /* The loop rolls too little, hence the prefetching would not be useful. */
3 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
4 /* { dg-require-effective-target ilp32 } */
5 /* { dg-options "-O2 -fprefetch-loop-arrays -march=athlon -fdump-tree-final_cleanup" } */
7 int xxx[20];
9 void foo (int n)
11 int i;
13 for (i = 0; i < n; i++)
14 xxx[i] = i;
17 /* { dg-final { scan-tree-dump-times "prefetch" 0 "final_cleanup" } } */
18 /* { dg-final { cleanup-tree-dump "final_cleanup" } } */