This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog.tree-ssa tree-ssa-pre.c
- From: dberlin at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 30 Sep 2002 23:50:04 -0000
- Subject: gcc/gcc ChangeLog.tree-ssa tree-ssa-pre.c
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: dberlin@gcc.gnu.org 2002-09-30 16:50:04
Modified files:
gcc : ChangeLog.tree-ssa tree-ssa-pre.c
Log message:
2002-09-30 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-pre.c (repair_injury): Start work on updating SSA
representation for strength reduction injuries.
Print a new line after outputting tree node in debug statements.
Fix strength reduction of a candidate with two variables (IE a *
c).
Put the repair after the injuring statement, not at the end of the
block.
Break the RHS use lookup if it's defined by a phi.
(calculate_increment): Ditto on node printing.
(code_motion): Ditto on updating SSA rep for strength reduction
injuries.
(find_rhs_use_for_var): Rewrite to use maybe_find_rhs_use_for_var.
(maybe_find_rhs_use_for_var): Rename from find_rhs_use_for_var,
don't abort, return NULL.
(set_var_phis): Simplify break condition.
Make sure RHS *has* a use before we go and get it.
(rename2): Ditto on RHS checking.
When looking up injuring defs, break on phis.
(phi_opnd_from_res): Ditto.
(defs_y_dom_x): Ditto.
(TODO List): Add new TODO to fix the remapping crud.
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.77&r2=1.1.2.78
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-pre.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.4.21&r2=1.1.4.22