Propagate constant values or parametric expressions outside the scop region.regtest/success/2010_07_23_08_00_42
commit1772a5fad67b64cd906e81282f6fb0c72f2873ac
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Jul 2010 05:52:50 +0000 (23 05:52 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 Jul 2010 05:52:50 +0000 (23 05:52 +0000)
treec435b643523545c9fbebb864de538942958f18e5
parent384b93931f6415c07dd4da21c98ce09e64e39667
Propagate constant values or parametric expressions outside the scop region.

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

* graphite-sese-to-poly.c (propagate_expr_outside_region): New.
(rewrite_close_phi_out_of_ssa): Propagate constant values or
parametric expressions outside the scop region.
(rewrite_cross_bb_scalar_deps): Same.
* sese.c (rename_uses): Use NULL_TREE instead of NULL for trees.

* gcc.dg/graphite/run-id-5.c: New.
* gcc.dg/graphite/run-id-6.c: New.
* gfortran.dg/graphite/id-21.f: New.

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