gcc/gcc ChangeLog.tree-ssa tree-tailcall.c
law@gcc.gnu.org
law@gcc.gnu.org
Wed Mar 3 04:23:00 GMT 2004
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: law@gcc.gnu.org 2004-03-03 04:23:20
Modified files:
gcc : ChangeLog.tree-ssa tree-tailcall.c
Log message:
* tree-tailcall.c (struct tailcall): Remove return_block and return_bsi
fields, add m and a fields.
(m_acc, a_acc): New.
(find_tail_calls): Find tail calls on whose results simple operations
are performed.
(independent_on_stmt_p, process_assignment,
propagate_through_phis, adjust_accumulator_values,
adjust_return_value): New.
(eliminate_tail_call): Update the accumulators if needed.
(optimize_tail_call): Do not create phis.
(tree_optimize_tail_calls): Create phis and accumulators as needed.
Adjust return values.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.tree-ssa.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.1249&r2=1.1.2.1250
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-tailcall.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.20&r2=1.1.2.21
More information about the Gcc-cvs
mailing list