* tree-loop-distribution.c (struct builtin_info): New struct.
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ldist-30.c
blobf31860a574ed3d3931f1ac889fadf98e44a976cc
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -ftree-loop-distribution -ftree-loop-distribute-patterns -fdump-tree-ldist-details" } */
4 #define M (256)
5 #define N (512)
6 int a[M][N], b[M][N];
8 void
9 foo (void)
11 for (unsigned i = 0; i < M; ++i)
12 for (unsigned j = N; j > 0; --j)
13 a[i][j - 1] = b[i][j - 1];
16 /* { dg-final { scan-tree-dump-times "Loop nest . distributed: split to" 1 "ldist" } } */