diff options
author | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-14 20:42:02 +0000 |
---|---|---|
committer | bernds <bernds@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-04-14 20:42:02 +0000 |
commit | 84c471f5dbe2c6546758bbbc9df95831319bf4bd (patch) | |
tree | 1884df733d474367203b5216eb04d450bcd6d268 /gcc/basic-block.h | |
parent | 33199a814ed70207b73cf04b05d5a6a09d7ac184 (diff) | |
download | gcc-84c471f5dbe2c6546758bbbc9df95831319bf4bd.tar.gz |
gcc/
PR target/21803
* ifcvt.c (cond_exec_process_if_block): Look for identical sequences
at the start and end of the then/else blocks, and omit them from the
conversion.
* cfgcleanup.c (flow_find_cross_jump): No longer static. Remove MODE
argument; all callers changed. Pass zero to old_insns_match_p instead.
(flow_find_head_matching_sequence): New function.
(old_insns_match_p): Check REG_EH_REGION notes for calls.
* basic-block.h (flow_find_cross_jump,
flow_find_head_matching_sequence): Declare functions.
gcc/testsuite/
PR target/21803
* gcc.target/arm/pr42496.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@158357 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r-- | gcc/basic-block.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h index 524d00d9d66..34b18bd51e8 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -894,6 +894,10 @@ extern void rtl_make_eh_edge (sbitmap, basic_block, rtx); /* In cfgcleanup.c. */ extern bool cleanup_cfg (int); +extern int flow_find_cross_jump (basic_block, basic_block, rtx *, rtx *); +extern int flow_find_head_matching_sequence (basic_block, basic_block, + rtx *, rtx *, int); + extern bool delete_unreachable_blocks (void); extern bool mark_dfs_back_edges (void); |