This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog.tree-ssa tree-tailcall.c
- From: law at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 3 Mar 2004 04:23:20 -0000
- Subject: gcc/gcc ChangeLog.tree-ssa tree-tailcall.c
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