This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Another useless bitmap gone
- To: gcc-patches at gcc dot gnu dot org
- Subject: Another useless bitmap gone
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 24 Jul 2000 09:47:05 -0600
- Reply-To: law at cygnus dot com
* gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not
needed by our gcse pass anymore.
(free_pre_mem): Corresponding changes.
(compute_pre_data): Do not call compute_transpout anymore.
Index: gcse.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/gcse.c,v
retrieving revision 1.96
diff -c -3 -p -r1.96 gcse.c
*** gcse.c 2000/07/24 15:32:05 1.96
--- gcse.c 2000/07/24 15:43:37
*************** alloc_pre_mem (n_blocks, n_exprs)
*** 4046,4052 ****
pre_delete_map = NULL;
ae_in = NULL;
ae_out = NULL;
- transpout = sbitmap_vector_alloc (n_blocks, n_exprs);
ae_kill = sbitmap_vector_alloc (n_blocks, n_exprs);
/* pre_insert and pre_delete are allocated later. */
--- 4046,4051 ----
*************** free_pre_mem ()
*** 4070,4077 ****
free (pre_insert_map);
if (pre_delete_map)
free (pre_delete_map);
- if (transpout)
- free (transpout);
if (ae_in)
free (ae_in);
--- 4069,4074 ----
*************** free_pre_mem ()
*** 4080,4086 ****
transp = comp = NULL;
pre_optimal = pre_redundant = pre_insert_map = pre_delete_map = NULL;
! transpout = ae_in = ae_out = NULL;
}
/* Top level routine to do the dataflow analysis needed by PRE. */
--- 4077,4083 ----
transp = comp = NULL;
pre_optimal = pre_redundant = pre_insert_map = pre_delete_map = NULL;
! ae_in = ae_out = NULL;
}
/* Top level routine to do the dataflow analysis needed by PRE. */
*************** compute_pre_data ()
*** 4091,4097 ****
int i;
compute_local_properties (transp, comp, antloc, 0);
- compute_transpout ();
sbitmap_vector_zero (ae_kill, n_basic_blocks);
/* Compute ae_kill for each basic block using:
--- 4088,4093 ----