This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: compute_bb_for_insn


  In message <19990920131116.A28721@cygnus.com>you write:
  > I found I needed this in some Haifa cleanup I'd started.
  > Given we already export set_block_for_insn, it seems silly
  > not to export the "rebuild everything" function as well.
  > 
  > 
  > r~
  > 
  > 
  >         * basic-block.h (compute_bb_for_insn): Declare.
  >         * flow.c (compute_bb_for_insn): Export.  Don't accept the varray
  >         to use; set size of basic_block_for_insn directly.
  >         (find_basic_blocks): Update.
Ohhhh.  I actually started some cleanup too (probably not nearly as ambitious
as yours).

The one thing we really want to make sure we do is clean up and promote the
code to detect irregular cfgs and natural loops into flow.c or some other 
generic module.  Stan needs this stuff and it's one of the pieces we need to
really clean up loop & LRS.
jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]