gcc/gcc ChangeLog.lno cfgloop.h cfgloopmanip.c ...

dorit@gcc.gnu.org dorit@gcc.gnu.org
Thu May 20 13:41:00 GMT 2004


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	lno-branch
Changes by:	dorit@gcc.gnu.org	2004-05-20 13:41:21

Modified files:
	gcc            : ChangeLog.lno cfgloop.h cfgloopmanip.c 
	                 tree-flow.h tree-ssa-loop-manip.c 
	                 tree-vectorizer.c tree-vectorizer.h 
	gcc/testsuite  : ChangeLog.lno 
	gcc/testsuite/gcc.dg/tree-ssa-vect: tree-ssa-vect-8.c 
	                                    tree-ssa-vect-none.c 

Log message:
	2004-05-20  Olga Golovanevsky  <olga@il.ibm.com>
	Dorit Naishlos <dorit@il.ibm.com>
	
	* tree-vectorizer.c (vect_transform_loop): New parameter;
	if bound is unknown, duplicates loop before vectorizing.
	(vect_transfrom_loop_bound): New parameter; now deal with
	symbolic loop bound.
	(vect_analyze_loop_with_symbolic_num_of_iters)
	(vect_duplicate_loop, vect_copy_phi_nodes)
	(vect_rename_variables_in_loop, vect_tree_split_edge)
	(vect_update_initial_conditions_of_duplicated_loop):
	(vect_tree_duplicate_loop, vect_build_symbl_bound): New functions.
	(new_loop_vec_info): Initialize the new field loop_vec_info:
	symb_numb_of_iters.
	* tree-vectorizer.h (loop_vec_info: symb_numb_of_iters): Added.
	(LOOP_VINFO_SYMB_NUM_OF_ITERS): Added.
	* cfgloopmanip.c (duplicate_loop): Made non-static.
	* tree-ssa-loop-manip.c (collect_defs): Made non-static.
	(allocate_new_names): Made non-static. Added option to allocate
	for original loop or not.
	(rename_op): Made non-static. Added input check.
	(rename_variables_in_bb): Made mpm-static.
	original loop were also renamed.
	(free_new_names): release_ssa_name only if defs of original
	loop were also renamed.
	* cfgloop.h (duplicate_loop): Declare.
	* tree-flow.h (collect_defs, allocate_new_names, rename_op)
	(rename_variables_in_bb, free_new_names): Declare.
	* gcc.dg/tree-ssa-vect/tree-ssa-vect-8.c: Tests with
	unknown loop bounds should now be vectorized.
	* gcc.dg/tree-ssa-vect/tree-ssa-vect-none.c: Likewise.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.lno.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.160&r2=1.1.2.161
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfgloop.h.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.2.4.9.2.15&r2=1.2.4.9.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfgloopmanip.c.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.3.2.11.2.9&r2=1.3.2.11.2.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-flow.h.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.4.177.2.27&r2=1.1.4.177.2.28
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-loop-manip.c.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.14&r2=1.1.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vectorizer.c.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.30&r2=1.1.2.31
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-vectorizer.h.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.11&r2=1.1.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.lno.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.15&r2=1.1.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa-vect/tree-ssa-vect-8.c.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.2&r2=1.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/tree-ssa-vect/tree-ssa-vect-none.c.diff?cvsroot=gcc&only_with_tag=lno-branch&r1=1.1.2.6&r2=1.1.2.7



More information about the Gcc-cvs mailing list