OSDN Git Service

Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
authorjle <jle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Jan 2000 01:41:22 +0000 (01:41 +0000)
committerjle <jle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 29 Jan 2000 01:41:22 +0000 (01:41 +0000)
commit7fcadf6226463092f6a36084f6e22b79b83ef1d8
treeb7e53416e72be71ecc8ff02e5544a3d4f9199174
parentdaac33087f0c0e477b902326fcc532899610cb51
Fri Jan  7 19:48:04 CET 2000  Jan Hubicka  <jh@suse.cz>
* sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
function.
* sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
* basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
(FLOW_LOOP_LAST_BLOCK): Likewise.

2000-01-21  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>

* basic-block.h (struct loop): New fields 'first' and 'last'.
* flow.c (flow_loops_find): Compute loop->first and loop->last.
(flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
and loop->last to check for NOTE_INSN_LOOP_END.

Fri Jan 28 10:57:58 2000  Jason Eckhardt  <jle@cygnus.com>

* predict.c (estimate_probability): Use the new FIRST and LAST fields
of the loop descriptor rather than HEADER and LATCH. Also added
missing break statements as well making some coding style modifications
as suggested by Michael Hayes.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31679 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/basic-block.h
gcc/flow.c
gcc/predict.c
gcc/sbitmap.c
gcc/sbitmap.h