diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-11 20:25:02 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-11 20:25:02 +0000 |
commit | bf8b569956933cb62174389bf3cb9d438ba94d3d (patch) | |
tree | 3b762031e9169f12685ecd55d4013d33a2bf17b5 /gcc/graphite-sese-to-poly.c | |
parent | e819c864dc9bde5d893b5726f8412d2fb6ad59c4 (diff) | |
download | gcc-bf8b569956933cb62174389bf3cb9d438ba94d3d.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163122 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-sese-to-poly.c')
-rw-r--r-- | gcc/graphite-sese-to-poly.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/graphite-sese-to-poly.c b/gcc/graphite-sese-to-poly.c index 8baf379a5a1..8bcd6848465 100644 --- a/gcc/graphite-sese-to-poly.c +++ b/gcc/graphite-sese-to-poly.c @@ -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)) |