1 /* { dg-require-effective-target size32plus } */
2 /* { dg-require-effective-target run_expensive_tests } PR testsuite/48283 */
11 int A
[N
][N
], B
[N
][N
], C
[N
][N
];
13 static void __attribute__((noinline
))
18 for (i
= 0; i
< N
; i
++)
19 for (j
= 0; j
< N
; j
++)
22 /* This should be blocked. */
23 for (i
= 0; i
< N
; i
++)
24 for (j
= 0; j
< N
; j
++)
25 for (k
= 0; k
< N
; k
++)
26 A
[i
][j
] += B
[i
][k
] * C
[k
][j
];
36 for (i
= 0; i
< N
; i
++)
37 for (j
= 0; j
< N
; j
++)
45 for (i
= 0; i
< N
; i
++)
49 fprintf (stderr
, "res = %d \n", res
);
58 /* { dg-final { scan-tree-dump-times "will be loop blocked" 1 "graphite" } } */
59 /* { dg-final { cleanup-tree-dump "graphite" } } */