diff options
author | Bernd Schmidt <bernd.schmidt@codesourcery.com> | 2010-04-14 20:42:02 +0000 |
---|---|---|
committer | Bernd Schmidt <bernds@gcc.gnu.org> | 2010-04-14 20:42:02 +0000 |
commit | 31ce8a531ca723fa33ddd5915fe7314a0ba6f0e5 (patch) | |
tree | 1884df733d474367203b5216eb04d450bcd6d268 /gcc/basic-block.h | |
parent | 943f82e7681224a36aadf743b6572ef55ec9e7ec (diff) | |
download | gcc-31ce8a531ca723fa33ddd5915fe7314a0ba6f0e5.zip gcc-31ce8a531ca723fa33ddd5915fe7314a0ba6f0e5.tar.gz gcc-31ce8a531ca723fa33ddd5915fe7314a0ba6f0e5.tar.bz2 |
re PR rtl-optimization/21803 ([ia64] gcc produces really odd predicated code)
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.
From-SVN: r158357
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 524d00d..34b18bd 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); |