aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcse.c
diff options
context:
space:
mode:
authorMichael Matz <matzmich@cs.tu-berlin.de>2000-11-14 09:58:40 +0000
committerRichard Henderson <rth@gcc.gnu.org>2000-11-14 01:58:40 -0800
commitf80326884cf82c1804385664197afa44ad468d97 (patch)
tree0ae1829906b698b59a80644fab4750674494c842 /gcc/gcse.c
parent6f1225504f3c4124fd4ab85edd0db620b14264ac (diff)
downloadgcc-f80326884cf82c1804385664197afa44ad468d97.zip
gcc-f80326884cf82c1804385664197afa44ad468d97.tar.gz
gcc-f80326884cf82c1804385664197afa44ad468d97.tar.bz2
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. From-SVN: r37449
Diffstat (limited to 'gcc/gcse.c')
-rw-r--r--gcc/gcse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcse.c b/gcc/gcse.c
index 2938597..ac87c93 100644
--- a/gcc/gcse.c
+++ b/gcc/gcse.c
@@ -5292,7 +5292,7 @@ compute_code_hoist_data ()
compute_local_properties (transp, comp, antloc, 0);
compute_transpout ();
compute_code_hoist_vbeinout ();
- compute_flow_dominators (dominators, NULL);
+ calculate_dominance_info (NULL, dominators, CDI_DOMINATORS);
if (gcse_file)
fprintf (gcse_file, "\n");
}