Do not translate out-of-SSA close phi nodes that can be analyzed with scev.
authorSebastian Pop <sebastian.pop@amd.com>
Wed, 11 Aug 2010 20:28:54 +0000 (20:28 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Wed, 11 Aug 2010 20:28:54 +0000 (20:28 +0000)
commita7d00e71ed47b501b43db412023c96e7053493f6
tree69346cb311ec9e67f54310031ee76d485456dc9a
parent5df5f257f5abd41d8554f769d763f0521d374f8a
Do not translate out-of-SSA close phi nodes that can be analyzed with scev.

2010-07-20  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Add an
extra parameter for the region.  Call scev_analyzable_p.
(rewrite_reductions_out_of_ssa): Update call to
rewrite_close_phi_out_of_ssa.
(rewrite_cross_bb_phi_deps): Same.
(rewrite_commutative_reductions_out_of_ssa_loop): Add an extra
parameter for the region.  Call scev_analyzable_p.
(rewrite_commutative_reductions_out_of_ssa): Update call to
rewrite_commutative_reductions_out_of_ssa_loop.

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