cprop.c (struct expr): Split 'expr' field in 'dest' and 'src'.
authorSteven Bosscher <steven@gcc.gnu.org>
Mon, 4 Apr 2011 18:27:17 +0000 (18:27 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Mon, 4 Apr 2011 18:27:17 +0000 (18:27 +0000)
commitb77f9eab26590857d67853ab3edd5e7171315e72
treec8cf825d98ff5536e44a49ce4bf011297963122e
parent384d7a5522426eddc7cb7b04a65af0f397133ab9
cprop.c (struct expr): Split 'expr' field in 'dest' and 'src'.

* cprop.c (struct expr): Split 'expr' field in 'dest' and 'src'.
(expr_equiv_p): Remove.
(insert_set_in_table): Look at <dest, src> pair instead of expr.
(hash_scan_set): Update call to insert_set_in_table.
(dump_hash_table): Dump <dest, src> pair.
(lookup_set): Simplify.  Lookup <dest, src> pair.
(compute_transp): Remove, fold heavily simplified code into...
(compute_local_properties): ...here.  Expect COMP and TRANSP
unconditionally.
(find_avail_set): Take set directly from struct expr.
(find_bypass-set): Likewise.
(bypass_block): Likewise.
(cprop_insn): Likewise.  Remove redundant INSN_P test.

From-SVN: r171947
gcc/ChangeLog
gcc/cprop.c