Split rewrite_cross_bb_scalar_deps_out_of_ssa out from rewrite_reductions_out_of_ssa.
2010-06-23 Sebastian Pop <sebastian.pop@amd.com> * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps_out_of_ssa): Split out of rewrite_reductions_out_of_ssa. * graphite-sese-to-poly.h (rewrite_cross_bb_scalar_deps_out_of_ssa): Declared. * graphite.c (graphite_transform_loops): Call it. From-SVN: r163122
This commit is contained in:
parent
6a7441f5be
commit
ee646fc62b
@ -1,3 +1,11 @@
|
||||
2010-08-02 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps_out_of_ssa):
|
||||
Split out of rewrite_reductions_out_of_ssa.
|
||||
* graphite-sese-to-poly.h (rewrite_cross_bb_scalar_deps_out_of_ssa):
|
||||
Declared.
|
||||
* graphite.c (graphite_transform_loops): Call it.
|
||||
|
||||
2010-08-02 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* graphite.c (graphite_transform_loops): Add two more dbg_cnt calls.
|
||||
|
@ -1,3 +1,11 @@
|
||||
2010-06-23 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps_out_of_ssa):
|
||||
Split out of rewrite_reductions_out_of_ssa.
|
||||
* graphite-sese-to-poly.h (rewrite_cross_bb_scalar_deps_out_of_ssa):
|
||||
Declared.
|
||||
* graphite.c (graphite_transform_loops): Call it.
|
||||
|
||||
2010-06-23 Sebastian Pop <sebastian.pop@amd.com>
|
||||
|
||||
* graphite.c (graphite_transform_loops): Add two more dbg_cnt calls.
|
||||
|
@ -2425,6 +2425,17 @@ rewrite_reductions_out_of_ssa (scop_p scop)
|
||||
#ifdef ENABLE_CHECKING
|
||||
verify_loop_closed_ssa (true);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
/* Rewrite out of SSA all the reduction phi nodes of SCOP. */
|
||||
|
||||
void
|
||||
rewrite_cross_bb_scalar_deps_out_of_ssa (scop_p scop)
|
||||
{
|
||||
basic_block bb;
|
||||
gimple_stmt_iterator psi;
|
||||
sese region = SCOP_REGION (scop);
|
||||
|
||||
FOR_EACH_BB (bb)
|
||||
if (bb_in_sese_p (bb, region))
|
||||
|
@ -32,6 +32,7 @@ void build_poly_scop (scop_p);
|
||||
void check_poly_representation (scop_p);
|
||||
void rewrite_commutative_reductions_out_of_ssa (sese, sbitmap);
|
||||
void rewrite_reductions_out_of_ssa (scop_p);
|
||||
void rewrite_cross_bb_scalar_deps_out_of_ssa (scop_p);
|
||||
void build_scop_bbs (scop_p, sbitmap);
|
||||
|
||||
#endif
|
||||
|
@ -280,6 +280,7 @@ graphite_transform_loops (void)
|
||||
if (dbg_cnt (graphite_scop))
|
||||
{
|
||||
rewrite_reductions_out_of_ssa (scop);
|
||||
rewrite_cross_bb_scalar_deps_out_of_ssa (scop);
|
||||
build_scop_bbs (scop, reductions);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user