diff options
author | Richard Henderson <rth@redhat.com> | 2005-09-17 17:03:26 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2005-09-17 17:03:26 -0700 |
commit | b1e8be10601e9394f9cb4873e46d83ab04d2dab2 (patch) | |
tree | 7f27a2447a866f4286914f3aa9e9e17820c5201a /gcc/passes.c | |
parent | 5e839bc82015c2659f230cf1141ec868cf5d449c (diff) | |
download | gcc-b1e8be10601e9394f9cb4873e46d83ab04d2dab2.zip gcc-b1e8be10601e9394f9cb4873e46d83ab04d2dab2.tar.gz gcc-b1e8be10601e9394f9cb4873e46d83ab04d2dab2.tar.bz2 |
tree-pass.h, [...]: Revert last change.
* tree-pass.h, tree-flow.h, tree-ssa-dce.c: Revert last change.
* tree-ssa-loop.c (pass_vect_dce): Remove.
* passes.c (init_optimization_passes): Add pass_dce as a sub-pass
of pass_vectorize.
From-SVN: r104382
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index bf6db2c..6a35b17 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -567,7 +567,6 @@ 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. */ @@ -577,6 +576,10 @@ init_optimization_passes (void) NEXT_PASS (pass_tree_loop_done); *p = NULL; + p = &pass_vectorize.sub; + NEXT_PASS (pass_dce); + *p = NULL; + p = &pass_loop2.sub; NEXT_PASS (pass_rtl_loop_init); NEXT_PASS (pass_rtl_move_loop_invariants); |