1 /* { dg-require-effective-target size32plus } */
20 /* These loops should be loop blocked. */
21 for (i
= 0; i
< MAX
; i
++)
22 for (j
= 0; j
< MAX
; j
++)
28 /* These loops should be loop blocked. */
29 for (i
= 0; i
< MAX
; i
++)
30 for (j
= 0; j
< MAX
; j
++)
31 A
[i
*MAX
+ j
] += B
[j
*MAX
+ i
];
33 /* These loops should be loop blocked. */
34 for(i
= 0; i
< MAX
; i
++)
35 for(j
= 0; j
< MAX
; j
++)
39 fprintf (stderr
, "sum = %d \n", sum
);
48 /* { dg-final { scan-tree-dump-times "will be loop blocked" 3 "graphite" } } */
49 /* { dg-final { cleanup-tree-dump "graphite" } } */