aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2005-09-17 14:46:20 -0700
committerRichard Henderson <rth@gcc.gnu.org>2005-09-17 14:46:20 -0700
commit8fe07c420601a4462ef0dce58346f19d259ac045 (patch)
tree413d9496ae75a23076489beca6df3159d54426a2 /gcc/passes.c
parent0856ee98d3c36b382be29a7d33ff7341af6e299f (diff)
downloadgcc-8fe07c420601a4462ef0dce58346f19d259ac045.zip
gcc-8fe07c420601a4462ef0dce58346f19d259ac045.tar.gz
gcc-8fe07c420601a4462ef0dce58346f19d259ac045.tar.bz2
tree-pass.h (pass_vect_dce): Declare.
* tree-pass.h (pass_vect_dce): Declare. * passes.c (init_optimization_passes): Add it. * tree-flow.h (tree_ssa_dce): Declare. * tree-ssa-dce.c (tree_ssa_dce): Export. * tree-ssa-loop.c (tree_vectorize): Move current_loops check ... (gate_tree_vectorize): ... here. (pass_vect_dce): New. From-SVN: r104376
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index c5b4212..bf6db2c 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -567,6 +567,7 @@ init_optimization_passes (void)
NEXT_PASS (pass_iv_canon);
NEXT_PASS (pass_if_conversion);
NEXT_PASS (pass_vectorize);
+ NEXT_PASS (pass_vect_dce);
/* NEXT_PASS (pass_may_alias) cannot be done again because the
vectorizer creates alias relations that are not supported by
pass_may_alias. */