* gcse.c (hash_scan_set): Remove incorrect ! optimize_size check.
authorAndrew MacLeod <amacleod@cygnus.com>
Sun, 17 Oct 1999 08:53:48 +0000 (08:53 +0000)
committerJeff Law <law@gcc.gnu.org>
Sun, 17 Oct 1999 08:53:48 +0000 (02:53 -0600)
From-SVN: r30054

gcc/ChangeLog
gcc/gcse.c

index 032482bf2fb7c19371946db761503439cb0b4c0a..b413b027a14d7e1efe5e5b00687362799b445ac5 100644 (file)
@@ -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".
index f43f3823c42f6724973c3d574a8bbb897b07606d..bb6dfd82267d2133da98fdeb8d7ed825776ab4c0 100644 (file)
@@ -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);