diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-14 09:58:40 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-11-14 09:58:40 +0000 |
commit | 4794f98977a772ed2f4faf695ff100a2111109ae (patch) | |
tree | 0ae1829906b698b59a80644fab4750674494c842 /gcc/ifcvt.c | |
parent | 110526c756ee73123a0e598b2f7f7bfd4e5a7837 (diff) | |
download | gcc-4794f98977a772ed2f4faf695ff100a2111109ae.tar.gz |
Michael Matz <matzmich@cs.tu-berlin.de>
* dominance.c: New file.
* Makefile.in (OBJS): Add dominance.o.
* flow.c (compute_flow_dominators): Remove.
(compute_immediate_dominators): Remove.
(compute_immediate_postdominators): Remove.
* basic-block.h: Remove their prototypes.
(calculate_dominance_info): Add prototype.
* dce.c (eliminate_dead_code): Change calls to above functions.
Don't compute dominators but only immediate dominators.
* flow.c (flow_loops_find): Change callers.
* gcse.c (compute_code_hoist_data): Likewise.
* haifa-sched.c (schedule_insns): Likewise.
* ifcvt.c (if_convert): Likewise.
* ssa.c (convert_to_ssa): Likewise, and only compute immediate
dominators.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@37449 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ifcvt.c')
-rw-r--r-- | gcc/ifcvt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index 3ca0e6ccc65..6ad1d35ee82 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -2104,7 +2104,7 @@ if_convert (life_data_ok) if (HAVE_conditional_execution || life_data_ok) { post_dominators = sbitmap_vector_alloc (n_basic_blocks, n_basic_blocks); - compute_flow_dominators (NULL, post_dominators); + calculate_dominance_info (NULL, post_dominators, CDI_POST_DOMINATORS); } /* Record initial block numbers. */ |