* gcse.c (cprop_cc0_jump): Function deleted.
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Jun 2002 20:03:08 +0000 (20:03 +0000)
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Jun 2002 20:03:08 +0000 (20:03 +0000)
commit23e5207c0625219f3f727bf8ecd8f675f84d085e
tree236ae5725e2efc8064604b35e16d87ae4b091b29
parent19fe54013d6fee3a0db99b3e20f25a706002fb16
* gcse.c (cprop_cc0_jump): Function deleted.
(cprop_jump): Take an additional argument which is the possibly
NULL cc setting insn immediately before the conditional jump.
When a MODE_CC set is present, substitute it into the JUMP_INSN
before attempting the constant propagation.
(cprop_insn):  Recognize cc setters followed by conditional jumps
as a special case.   Use cprop_jump instead of cprop_cc0_jump.
(cprop_one_pass):  Call bypass_conditional_jumps if altering jumps.
(find_bypass_set): New function based upon find_avail_set used by
cprop, but finds constant expressions available at the end of
basic blocks.
(bypass_block): New function.  Given a basic block that begins
with a conditional jump and multiple incoming edges, perform
the jump bypass optimization.
(bypass_conditional_jumps): New function.  Call bypass_block with
each suitable basic block in the CFG using a simple single pass.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54152 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/gcse.c