This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r153481 - in /branches/graphite/gcc: ChangeLog....


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]