This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc tree-ssa-pre.c ChangeLog.tree-ssa
- From: dberlin at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 22 Jul 2003 05:11:49 -0000
- Subject: gcc/gcc tree-ssa-pre.c ChangeLog.tree-ssa
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: dberlin@gcc.gnu.org 2003-07-22 05:11:48
Modified files:
gcc : tree-ssa-pre.c ChangeLog.tree-ssa
Log message:
2003-07-22 Daniel Berlin <dberlin@dberlin.org>
* tree-ssa-pre.c (factor_through_injuries): Take new argument specifying
whether use was injured or not (needed for SR). Update all callers.
(maybe_find_rhs_use_for_var): Take new argument specifying which
operand to start search with. Update all callers.
(phi_opnd_from_res): #if 0 out.
(rename_2): Ditto.
(rename_1): Ditto.
(defs_match_p): Take new arguments specifying which defs were injured.
Update all callers.
(defs_y_dom_x): Ditto.
(generate_expr_as_of_bb): Fix small memory overwrite.
(process_delayed_rename): Propagate injured flag around.
(new_rename_1): Ditto.
(finalize_1): Get correct variable names for newly created statement if
necessary due to PHI.
(repair_use_injury): Note the repair in the stats. Insert repair
in right place.
(repair_euse_injury): Fix handling of PHI_NODE.
(code_motion): Fix algorithm so it can handle using reaching_def all the
time (needed for SR).
Use reaching_def rather than EREF_TEMP.
Patches:
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.64&r2=1.1.4.65
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.507&r2=1.1.2.508