]> gcc.gnu.org Git - gcc.git/commit
gcse.c (cprop_cc0_jump): Function deleted.
authorRoger Sayle <roger@eyesopen.com>
Sat, 1 Jun 2002 20:03:08 +0000 (20:03 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Sat, 1 Jun 2002 20:03:08 +0000 (20:03 +0000)
commit0e3f022139a75b2dc2fc537909ac7622f4fdbfcb
tree236ae5725e2efc8064604b35e16d87ae4b091b29
parent378393da613d7c182ce3370696ec47a5a5cb2aef
gcse.c (cprop_cc0_jump): Function deleted.

* 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.

From-SVN: r54152
gcc/ChangeLog
gcc/gcse.c
This page took 0.060964 seconds and 5 git commands to generate.