Refactor graphite-sese-to-poly, sese.h, graphite-poly.h
authorAditya Kumar <aditya.k7@samsung.com>
Wed, 21 Oct 2015 18:53:26 +0000 (18:53 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Wed, 21 Oct 2015 18:53:26 +0000 (18:53 +0000)
commitcaf5b4dfca050e8e93b1ee15705ab9c759854f40
treea080a867749e4ee522936859c843d46eb80b636c
parentd37fc3aa4aae5adf437a4d0b6370dc24759e5689
Refactor graphite-sese-to-poly, sese.h, graphite-poly.h

Now that scop contains a list of all the basic blocks inside, it makes sense to
iterate over only those basic blocks in
graphite-sese-to-poly.c:rewrite_reductions_out_of_ssa,rewrite_cross_bb_scalar_deps_out_of_ssa

Passes regtest and bootstrap.

gcc/ChangeLog:

2015-10-20  Aditya Kumar  <hiraditya@msn.com>

        * graphite-poly.h (struct dr_info): Added invalid_alias_set number.
        (operator=): Removed.
        (dr_info): Make alias_set number the last argument with default value of invalid_alias_set.
        * graphite-sese-to-poly.c (build_scop_drs): Update constructor of dr_info.
        (rewrite_reductions_out_of_ssa): Iterate only through the basic blocks which are inside region.
        (rewrite_cross_bb_scalar_deps_out_of_ssa): Same.
        * sese.h (struct sese_l): Removed assignment operator.
        (split_region_for_bb): Removed dead code.

From-SVN: r229136
gcc/ChangeLog
gcc/graphite-poly.h
gcc/graphite-sese-to-poly.c
gcc/sese.h