canonicalize_loop_ivs should add the IV bump in loop->header.
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 2010 18:37:13 +0000 (18:37 +0000)
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 31 Mar 2010 18:37:13 +0000 (18:37 +0000)
commit0207206d3e2a17cd35d050b9197c575b531d29f4
tree031cf7376f126a24b28052c5fb0f4f308cc6b474
parenta751953f79681163e7ed60a2a5bc3b12c1c91171
canonicalize_loop_ivs should add the IV bump in loop->header.

2010-03-16  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-sese-to-poly.c (graphite_loop_normal_form): Add the IV bump
in loop->header.
* tree-flow.h (canonicalize_loop_ivs): Updated declaration.
* tree-parloops.c (gen_parallel_loop): Add the IV bump in loop->latch.
* tree-ssa-loop-manip.c (canonicalize_loop_ivs): Add a new parameter
to switch between adding the IV bump in loop->latch or in loop->header.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157885 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.graphite
gcc/graphite-sese-to-poly.c
gcc/tree-flow.h
gcc/tree-parloops.c
gcc/tree-ssa-loop-manip.c