Call scev_reset_htab when Graphite out-of-SSA has changed something.regtest/success/2010_07_27_22_10_36
commite69d5996190e937d231a9fe18bd001f6774cdce6
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jul 2010 20:04:19 +0000 (27 20:04 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jul 2010 20:04:19 +0000 (27 20:04 +0000)
tree8ec7187dc492d97799a36fe7ad86455f1df2c07e
parent8a190bdf67f4437fb3a506c4026d2a2d027d20d9
Call scev_reset_htab when Graphite out-of-SSA has changed something.

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

* graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps): Returns
a bool.
(rewrite_commutative_reductions_out_of_ssa_close_phi): Same.
(rewrite_commutative_reductions_out_of_ssa_loop): Same.
(rewrite_cross_bb_scalar_deps_out_of_ssa): Call scev_reset_htab
when something has been changed.
(rewrite_commutative_reductions_out_of_ssa): Same.

* gcc.dg/graphite/id-26.c: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/graphite@162599 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/graphite-sese-to-poly.c
gcc/testsuite/gcc.dg/graphite/id-26.c [new file with mode: 0644]