Detect commutative reductions in all the scops before rewriting out of SSA all the...
authorSebastian Pop <sebastian.pop@amd.com>
Wed, 11 Aug 2010 20:24:16 +0000 (20:24 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Wed, 11 Aug 2010 20:24:16 +0000 (20:24 +0000)
commit3a7086cc51984f7b1f5b0d709500382eb16875e2
treed0cb67f308415d8102e0a5fbb919071f3a5e86cd
parent61ca46ce9b4343929106dae5f06f65362663dac7
Detect commutative reductions in all the scops before rewriting out of SSA all the other scalar dependences.

2010-06-12  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-sese-to-poly.c (build_scop_bbs): Not static anymore.
(rewrite_reductions_out_of_ssa): Same.
(rewrite_commutative_reductions_out_of_ssa): Same.
(build_poly_scop): Do not call these functions.
* graphite-sese-to-poly.h (build_poly_scop): Declared.
(rewrite_reductions_out_of_ssa): Declared.
(rewrite_commutative_reductions_out_of_ssa): Declared.
* graphite.c (graphite_transform_loops): Call on every scop
rewrite_commutative_reductions_out_of_ssa before calling
rewrite_reductions_out_of_ssa and build_scop_bbs.

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