add array access function in the right order
authorAditya Kumar <aditya.k7@samsung.com>
Wed, 9 Dec 2015 18:35:47 +0000 (18:35 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Wed, 9 Dec 2015 18:35:47 +0000 (18:35 +0000)
commitce6a2c929e629df9e40cc99001c3fadeb0c687cd
treea8789f9894bfd31726bb3973fa590688a8ff4e4b
parent834cf2570739e22f09dffda30e979f2891b7398c
add array access function in the right order

we used to add the access functions in the wrong order, Fortran style, leading to unprofitable interchanges.

* graphite-sese-to-poly.c (pdr_add_memory_accesses): Iterate in
the same order as adding data reference access functions.

Co-Authored-By: Sebastian Pop <s.pop@samsung.com>
From-SVN: r231465
gcc/ChangeLog
gcc/graphite-sese-to-poly.c