r153481 - in /branches/graphite/gcc: ChangeLog....
spop@gcc.gnu.org
spop@gcc.gnu.org
Thu Oct 22 22:59:00 GMT 2009
Author: spop
Date: Thu Oct 22 22:59:02 2009
New Revision: 153481
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153481
Log:
Canonicalize loop ivs before building scops.
2009-10-22 Sebastian Pop <sebastian.pop@amd.com>
* cfgloop.c (alloc_loop): Initialize loop->single_iv.
* cfgloop.h (struct loop): New field single_iv.
* graphite-clast-to-gimple.c (pbb_to_depth_to_oldiv): Do not use
loop->aux anymore: use loop->single_iv.
(graphite_loop_normal_form): Moved...
(build_graphite_loop_normal_form): Removed.
(gloog): Do not call build_graphite_loop_normal_form.
(free_aux_in_new_loops): Moved...
(mark_loops_parallel): Restructure.
* graphite-clast-to-gimple.h (free_aux_in_new_loops): Do not declare.
* graphite-sese-to-poly.c (graphite_loop_normal_form): ...here.
(scop_canonicalize_loops): New.
(build_poly_scop): Call scop_canonicalize_loops.
* graphite.c (free_aux_in_new_loops): ...here.
Modified:
branches/graphite/gcc/ChangeLog.graphite
branches/graphite/gcc/cfgloop.c
branches/graphite/gcc/cfgloop.h
branches/graphite/gcc/graphite-clast-to-gimple.c
branches/graphite/gcc/graphite-clast-to-gimple.h
branches/graphite/gcc/graphite-sese-to-poly.c
branches/graphite/gcc/graphite.c
More information about the Gcc-cvs
mailing list