aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2009-11-25 05:10:14 +0000
committerSebastian Pop <spop@gcc.gnu.org>2009-11-25 05:10:14 +0000
commit23159c56104ded6234ae8088dd628c2f202fe83e (patch)
tree006c2c02ca26a6753e52ddf4cbfbce8b6d2dd7e4 /gcc
parent5c6c42c98d9a324859fb338a20abda1be82b9bda (diff)
downloadgcc-23159c56104ded6234ae8088dd628c2f202fe83e.zip
gcc-23159c56104ded6234ae8088dd628c2f202fe83e.tar.gz
gcc-23159c56104ded6234ae8088dd628c2f202fe83e.tar.bz2
graphite-interchange.c (memory_stride_in_loop): Fix comments.
2009-10-15 Sebastian Pop <sebastian.pop@amd.com> * graphite-interchange.c (memory_stride_in_loop): Fix comments. From-SVN: r154594
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog.graphite4
-rw-r--r--gcc/graphite-interchange.c8
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite
index 535cd0c..c5cf925 100644
--- a/gcc/ChangeLog.graphite
+++ b/gcc/ChangeLog.graphite
@@ -1,5 +1,9 @@
2009-10-15 Sebastian Pop <sebastian.pop@amd.com>
+ * graphite-interchange.c (memory_stride_in_loop): Fix comments.
+
+2009-10-15 Sebastian Pop <sebastian.pop@amd.com>
+
* graphite-blocking.c (lst_do_strip_mine): Avoid strip mining the
root of the LST.
* graphite-interchange.c (lst_do_interchange): Avoid interchanging
diff --git a/gcc/graphite-interchange.c b/gcc/graphite-interchange.c
index b42a133..4321732 100644
--- a/gcc/graphite-interchange.c
+++ b/gcc/graphite-interchange.c
@@ -169,7 +169,7 @@ memory_stride_in_loop (Value stride, graphite_dim_t depth, poly_dr_p pdr)
ppl_Pointset_Powerset_C_Polyhedron_add_constraint (p1, new_cstr);
}
- /* Now intersect all the parts to get:
+ /* Now intersect all the parts to get the polyhedron P1:
T|I|0|0|G|0|0|0 |0
0|I|0|0|G|S|0|0 |0
0|0|0|0|0|S|0|l1|0
@@ -196,14 +196,14 @@ memory_stride_in_loop (Value stride, graphite_dim_t depth, poly_dr_p pdr)
map = ppl_new_id_map (new_dim);
- /* T->T' and I->I'. */
+ /* TI -> T'I'. */
for (i = 0; i < offset; i++)
ppl_interchange (map, i, i + offset);
- /* l1->l2. */
+ /* l1 -> l2. */
ppl_interchange (map, dim_L1, dim_L2);
- /* S->S'. */
+ /* S -> S'. */
for (i = 0; i < nb_subscripts; i++)
ppl_interchange (map, offset + offsetg + i,
offset + offsetg + nb_subscripts + i);