diff options
author | Andrew MacLeod <amacleod@cygnus.com> | 1999-10-17 08:53:48 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-10-17 02:53:48 -0600 |
commit | 3cce638b2b10ea1657b9d15f911dc4ff71ce64a8 (patch) | |
tree | a2582628704b65fbc2175c42038a87eebe1a4792 | |
parent | 1e875952c8ad86c673854aca1458a3c1ac7c7c74 (diff) | |
download | gcc-3cce638b2b10ea1657b9d15f911dc4ff71ce64a8.zip gcc-3cce638b2b10ea1657b9d15f911dc4ff71ce64a8.tar.gz gcc-3cce638b2b10ea1657b9d15f911dc4ff71ce64a8.tar.bz2 |
* gcse.c (hash_scan_set): Remove incorrect ! optimize_size check.
From-SVN: r30054
-rw-r--r-- | gcc/ChangeLog | 14 | ||||
-rw-r--r-- | gcc/gcse.c | 2 |
2 files changed, 15 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 032482b..b413b02 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,17 @@ +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> * reload.h (struct reload): Add new fields "mode" and "nregs". @@ -1912,7 +1912,7 @@ hash_scan_set (pat, insn, set_p) { /* An expression is not anticipatable if its operands are 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 subsequently modified, including this insn. */ int avail_p = oprs_available_p (src, insn); |