diff options
author | Jeffrey A Law <law@cygnus.com> | 1999-11-11 06:38:15 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-11-10 23:38:15 -0700 |
commit | bd0eaec24a4e1a04fa98d3f03c4780c4ac374e5f (patch) | |
tree | 6185ebb16ca81e902c67605443eefce90ab097fe /gcc/gcse.c | |
parent | 2a2ea744a9ff0d68d57fed4fbd93a5ee39d261ce (diff) | |
download | gcc-bd0eaec24a4e1a04fa98d3f03c4780c4ac374e5f.zip gcc-bd0eaec24a4e1a04fa98d3f03c4780c4ac374e5f.tar.gz gcc-bd0eaec24a4e1a04fa98d3f03c4780c4ac374e5f.tar.bz2 |
basic-block.h (compute_available): Returns a void now.
* basic-block.h (compute_available): Returns a void now.
* gcse.c (one_classic_gcse_pass): Do not expect compute_available
to return a value anymore.
* lcm.c (compute_available, compute_antinout_edge): Revamp to use
worklists. Fix boundary cases. Compute maximal solutions.
(compute_laterin, compute_nearerout): Similarly.
From-SVN: r30482
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r-- | gcc/gcse.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -3404,15 +3404,12 @@ one_classic_gcse_pass (pass) expr_hash_table_size, n_exprs); if (n_exprs > 0) { - int passes; compute_kill_rd (); compute_rd (); alloc_avail_expr_mem (n_basic_blocks, n_exprs); compute_ae_gen (); compute_ae_kill (ae_gen, ae_kill); - passes = compute_available (ae_gen, ae_kill, ae_out, ae_in); - if (gcse_file) - fprintf (gcse_file, "avail expr computation: %d passes\n", passes); + compute_available (ae_gen, ae_kill, ae_out, ae_in); changed = classic_gcse (); free_avail_expr_mem (); } |