Commit 3cce638b by Andrew MacLeod Committed by Jeff Law

* gcse.c (hash_scan_set): Remove incorrect ! optimize_size check.

From-SVN: r30054
parent 1e875952
Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
* basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
Prototype for exported functions.
(pre_lcm, pre_rev_lcm): Remove prototypes.
* gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
(compute_available): Move to lcm.c, and change parameter order.
(one_classic_gcse_pass): Call compute_ae_kill with parameters.
(pre_insert): Delete.
* lcm.c: Remove all the old LCM functions. Replace with new ones
that work with the new cfg datastructures and work with edges
instead of blocks.
Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk> Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* reload.h (struct reload): Add new fields "mode" and "nregs". * reload.h (struct reload): Add new fields "mode" and "nregs".
......
...@@ -1912,7 +1912,7 @@ hash_scan_set (pat, insn, set_p) ...@@ -1912,7 +1912,7 @@ hash_scan_set (pat, insn, set_p)
{ {
/* An expression is not anticipatable if its operands are /* An expression is not anticipatable if its operands are
modified before this insn. */ modified before this insn. */
int antic_p = ! optimize_size && oprs_anticipatable_p (src, insn); int antic_p = oprs_anticipatable_p (src, insn);
/* An expression is not available if its operands are /* An expression is not available if its operands are
subsequently modified, including this insn. */ subsequently modified, including this insn. */
int avail_p = oprs_available_p (src, insn); int avail_p = oprs_available_p (src, insn);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment