gcc/gcc ChangeLog.tree-ssa tree-ssa-dom.c
law@gcc.gnu.org
law@gcc.gnu.org
Wed Jul 16 22:02:00 GMT 2003
CVSROOT: /cvs/gcc
Module name: gcc
Branch: tree-ssa-20020619-branch
Changes by: law@gcc.gnu.org 2003-07-16 22:02:17
Modified files:
gcc : ChangeLog.tree-ssa tree-ssa-dom.c
Log message:
* tree-ssa-dom.c (get_eq_expr_value): Also enter expressions
into the available expression hash table. Callers changed to
pass in the block_avail_exprs varray and const_and_copies hash
table.
(optimize_stmt): Allow optimization of the condition in
a COND_EXPR statement.
(lookup_avail_expr): For COND_EXPRs, just see if their condition
has been recorded into the hash table, do not enter them into
the hash table. Only do a lookup of the result in the
const_and_copies table if it is an SSA_VAR.
(avail_expr_hash): Handle COND_EXPRs, specifically we only care
about their condition and virtual operands.
(avail_expr_eq): Likewise. If one statement has virtual operands
and the other does not, then the expressions are not equal.
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.497&r2=1.1.2.498
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-ssa-dom.c.diff?cvsroot=gcc&only_with_tag=tree-ssa-20020619-branch&r1=1.1.2.3&r2=1.1.2.4
More information about the Gcc-cvs
mailing list