summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-12 14:25:32 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2009-08-12 14:25:32 +0000
commit9daa88108a80798c2b10d58fed3a64cfba88e613 (patch)
treedc7b964604c2bde2b281019149e1435acdabb430
parent0835eab695dc77cf92631c49c7ead7341df97c83 (diff)
downloadppe42-gcc-9daa88108a80798c2b10d58fed3a64cfba88e613.tar.gz
ppe42-gcc-9daa88108a80798c2b10d58fed3a64cfba88e613.zip
Add interchange testcase.
2009-08-11 Sebastian Pop <sebastian.pop@amd.com> * testsuite/gcc.dg/graphite/interchange-9.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150688 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog.graphite6
-rw-r--r--gcc/testsuite/ChangeLog8
-rw-r--r--gcc/testsuite/gcc.dg/graphite/interchange-9.c14
3 files changed, 25 insertions, 3 deletions
diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite
index bb1d3ad1b7e..4c9577f39d0 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 11309d89c98..141036a1437 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 00000000000..f728d6c5cdc
--- /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" } } */
OpenPOWER on IntegriCloud