Do not translate out-of-SSA close phi nodes that can be analyzed with scev.
commit8f010833ba02b97159adbce7e1ea2089ea336c03
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jul 2010 20:24:56 +0000 (20 20:24 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Jul 2010 20:24:56 +0000 (20 20:24 +0000)
tree846075fc3881b279a9f91422c3fc1da021374cee
parent8552a27bcd5a101c014f429289adee71113dac1d
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@162351 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/graphite-sese-to-poly.c