Add interchange testcase.

2009-08-11  Sebastian Pop  <sebastian.pop@amd.com>

	* testsuite/gcc.dg/graphite/interchange-9.c: New.

From-SVN: r150688
This commit is contained in:
Sebastian Pop 2009-08-12 14:25:32 +00:00 committed by Sebastian Pop
parent 7491e5f00c
commit 273c5dd38b
3 changed files with 25 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
* testsuite/gcc.dg/graphite/interchange-9.c: New.
2009-08-05 Konrad Trifunovic <konrad.trifunovic@gmail.com>
Sebastian Pop <sebastian.pop@amd.com>
@ -41,7 +45,7 @@
(restore_scattering): New.
* graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons):
Initialize PBB_TRANSFORMED and PBB_ORIGINAL.
2009-08-05 Sebastian Pop <sebastian.pop@amd.com>
* graphite-poly.c (print_pbb): Add parentheses in the pretty print.

View File

@ -1,7 +1,11 @@
2009-08-12 Sebastian Pop <sebastian.pop@amd.com>
* gcc.dg/graphite/interchange-9.c: New.
2009-08-12 Richard Guenther <rguenther@suse.de>
PR rtl-optimization/41033
* gcc.dg/pr41033.c: New test.
* gcc.dg/pr41033.c: New test.
2009-08-11 Janus Weil <janus@gcc.gnu.org>

View File

@ -0,0 +1,14 @@
int
foo (int *x)
{
int i, j;
int sum = 0;
for (j = 0; j < 10000; ++j)
for (i = 0; i < 10000; ++i)
sum += x[10000 * i + j];
return sum;
}
/* { dg-final { scan-tree-dump-times "will be interchanged" 1 "graphite" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "graphite" } } */