r114708 - in /branches/predcom/gcc: ChangeLog.p...
rakdver@gcc.gnu.org
rakdver@gcc.gnu.org
Fri Jun 16 07:50:00 GMT 2006
Author: rakdver
Date: Fri Jun 16 07:50:41 2006
New Revision: 114708
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114708
Log:
* tree-ssa-loop-manip.c (determine_exit_conditions): Return a single
step instead of the step of the unrolled loop.
(tree_unroll_loop): Split into ...
(tree_unroll_loop_prepare, tree_unroll_loop_finish): ... new functions.
* tree-predcom.c (initialize_root, execute_pred_commoning_chain,
execute_pred_commoning): Do not compute unroll factor.
(determine_unroll_factor): New function.
(tree_predictive_commoning_loop): Use tree_unroll_loop_prepare and
tree_unroll_loop_finish.
* tree-flow.h (tree_unroll_loop_prepare, tree_unroll_loop_finish):
Declare.
* gcc.dg/tree-ssa/predcom-1.c: Test also loops with nonconstant
# of iterations.
Modified:
branches/predcom/gcc/ChangeLog.predcom
branches/predcom/gcc/testsuite/ChangeLog.predcom
branches/predcom/gcc/testsuite/gcc.dg/tree-ssa/predcom-1.c
branches/predcom/gcc/tree-flow.h
branches/predcom/gcc/tree-predcom.c
branches/predcom/gcc/tree-ssa-loop-manip.c
More information about the Gcc-cvs
mailing list