diff options
author | Tom de Vries <tom@codesourcery.com> | 2015-11-16 12:40:24 +0000 |
---|---|---|
committer | Tom de Vries <vries@gcc.gnu.org> | 2015-11-16 12:40:24 +0000 |
commit | 5ce8d99a1b45692a14b4a8aaf5b481738bf95172 (patch) | |
tree | fa576c46796bf106c419ef642f60d7c8277203e6 /gcc/passes.def | |
parent | 2162bfe15e549b125b8183fc5f3d6e1d05ef5c98 (diff) | |
download | gcc-5ce8d99a1b45692a14b4a8aaf5b481738bf95172.zip gcc-5ce8d99a1b45692a14b4a8aaf5b481738bf95172.tar.gz gcc-5ce8d99a1b45692a14b4a8aaf5b481738bf95172.tar.bz2 |
Remove first_pass_instance from pass_dominator
2015-11-16 Tom de Vries <tom@codesourcery.com>
* passes.def: Add arg to pass_dominator pass instantiation.
* tree-pass.h (first_pass_instance): Remove pass_dominator-related bit
of comment.
* tree-ssa-dom.c (pass_dominator::pass_dominator): Initialize
may_peel_loop_headers_p.
(pass_dominator::set_pass_param): New member function. Set
may_peel_loop_headers_p.
(pass_dominator::may_peel_loop_headers_p): New private member.
(pass_dominator::execute): Use may_peel_loop_headers_p instead of
first_pass_instance.
From-SVN: r230417
Diffstat (limited to 'gcc/passes.def')
-rw-r--r-- | gcc/passes.def | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/passes.def b/gcc/passes.def index 78fdf0f..d274a95 100644 --- a/gcc/passes.def +++ b/gcc/passes.def @@ -190,7 +190,7 @@ along with GCC; see the file COPYING3. If not see propagations have already run, but before some more dead code is removed, and this place fits nicely. Remember this when trying to move or duplicate pass_dominator somewhere earlier. */ - NEXT_PASS (pass_dominator); + NEXT_PASS (pass_dominator, true /* may_peel_loop_headers_p */); /* At this point the majority of const/copy propagations are exposed. Go ahead and identify paths that should never be executed in a conforming program and isolate those paths. @@ -279,7 +279,7 @@ along with GCC; see the file COPYING3. If not see NEXT_PASS (pass_reassoc, false /* insert_powi_p */); NEXT_PASS (pass_strength_reduction); NEXT_PASS (pass_tracer); - NEXT_PASS (pass_dominator); + NEXT_PASS (pass_dominator, false /* may_peel_loop_headers_p */); NEXT_PASS (pass_strlen); NEXT_PASS (pass_vrp, false /* warn_array_bounds_p */); /* The only const/copy propagation opportunities left after |