diff options
author | Robert Kidd <rkidd@gcc.gnu.org> | 2007-09-10 12:49:46 +0000 |
---|---|---|
committer | Robert Kidd <rkidd@gcc.gnu.org> | 2007-09-10 12:49:46 +0000 |
commit | 232abc3ff8954a9b040ea11dd8e3291759a159c6 (patch) | |
tree | beede6b03e0a31fcf7974e27cc39df96abf78663 /gcc/passes.c | |
parent | 281b604e6b81db532a717590a6fc58b13d087cd0 (diff) | |
download | gcc-232abc3ff8954a9b040ea11dd8e3291759a159c6.tar.gz |
bb-reorder.c (rest_of_handler_reorder_blocks): Removed call to RTL level tracer pass.
2007-09-10 Robert Kidd <rkidd@crhc.uiuc.edu>
* bb-reorder.c (rest_of_handler_reorder_blocks): Removed call to
RTL level tracer pass.
* passes.c (init_optimization_passes): Move pass_tracer from
after pass_rtl_ifcvt to after pass_dce.
* tracer.c: Update copyright.
(layout_superblocks): Remove function.
(mark_bb_seen): New.
(bb_seen_p): New.
(count_insns): Change to estimate instructions in a Tree-SSA
statement.
(find_trace): Use bb_seen_p.
(tail_duplicate): Use bb_seen_p. Call add_phi_args_after_copy
after duplicate_block.
(tracer): Change prototype to match that of a pass execute
callback.
(gate_tracer): Rename from gate_handle_tracer.
(rest_of_handle_tracer): Remove function.
* rtl.h: Remove prototype for tracer.
* testsuite/gcc.dg/tree-prof/tracer-1.c: New.
From-SVN: r128341
Diffstat (limited to 'gcc/passes.c')
-rw-r--r-- | gcc/passes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/passes.c b/gcc/passes.c index 7f4484226e6..48f4af099d0 100644 --- a/gcc/passes.c +++ b/gcc/passes.c @@ -648,6 +648,7 @@ init_optimization_passes (void) NEXT_PASS (pass_phi_only_cprop); NEXT_PASS (pass_cd_dce); + NEXT_PASS (pass_tracer); /* FIXME: If DCE is not run before checking for uninitialized uses, we may get false warnings (e.g., testsuite/gcc.dg/uninit-5.c). @@ -692,7 +693,6 @@ init_optimization_passes (void) NEXT_PASS (pass_rtl_fwprop); NEXT_PASS (pass_gcse); NEXT_PASS (pass_rtl_ifcvt); - NEXT_PASS (pass_tracer); /* Perform loop optimizations. It might be better to do them a bit sooner, but we want the profile feedback to work more efficiently. */ |