diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2009-08-12 14:25:32 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2009-08-12 14:25:32 +0000 |
commit | 273c5dd38b7aa69f9e8b653399fd0d1203c1d5d9 (patch) | |
tree | dc7b964604c2bde2b281019149e1435acdabb430 | |
parent | 7491e5f00c515b69ad34ba3e41175e2017825f61 (diff) | |
download | gcc-273c5dd38b7aa69f9e8b653399fd0d1203c1d5d9.zip gcc-273c5dd38b7aa69f9e8b653399fd0d1203c1d5d9.tar.gz gcc-273c5dd38b7aa69f9e8b653399fd0d1203c1d5d9.tar.bz2 |
Add interchange testcase.
2009-08-11 Sebastian Pop <sebastian.pop@amd.com>
* testsuite/gcc.dg/graphite/interchange-9.c: New.
From-SVN: r150688
-rw-r--r-- | gcc/ChangeLog.graphite | 6 | ||||
-rw-r--r-- | gcc/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/graphite/interchange-9.c | 14 |
3 files changed, 25 insertions, 3 deletions
diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite index bb1d3ad..4c9577f 100644 --- a/gcc/ChangeLog.graphite +++ b/gcc/ChangeLog.graphite @@ -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. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 11309d8..141036a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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> diff --git a/gcc/testsuite/gcc.dg/graphite/interchange-9.c b/gcc/testsuite/gcc.dg/graphite/interchange-9.c new file mode 100644 index 0000000..f728d6c --- /dev/null +++ b/gcc/testsuite/gcc.dg/graphite/interchange-9.c @@ -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" } } */ |