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/haifa-sched.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/haifa-sched.c')
-rw-r--r-- | gcc/haifa-sched.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c index 2ab6377d753..01f08b5d811 100644 --- a/gcc/haifa-sched.c +++ b/gcc/haifa-sched.c @@ -7001,10 +7001,8 @@ schedule_insns (dump_file) so may even be beneficial. */ edge_list = create_edge_list (); - /* Compute the dominators and post dominators. We don't - currently use post dominators, but we should for - speculative motion analysis. */ - compute_flow_dominators (dom, NULL); + /* Compute the dominators and post dominators. */ + calculate_dominance_info (NULL, dom, CDI_DOMINATORS); /* build_control_flow will return nonzero if it detects unreachable blocks or any other irregularity with the cfg which prevents |