aboutsummaryrefslogtreecommitdiff
path: root/gcc/passes.c
diff options
context:
space:
mode:
authorSteven Bosscher <steven@gcc.gnu.org>2007-03-12 19:38:06 +0000
committerSteven Bosscher <steven@gcc.gnu.org>2007-03-12 19:38:06 +0000
commitdacb3cda3208dca940e007cc6b9d259bdede193b (patch)
tree15607dc253aed0b6bf688c4fe381a3d1c758d403 /gcc/passes.c
parent6da4bc4e6ed62eabf3a97e58d05d94820543d9b7 (diff)
downloadgcc-dacb3cda3208dca940e007cc6b9d259bdede193b.zip
gcc-dacb3cda3208dca940e007cc6b9d259bdede193b.tar.gz
gcc-dacb3cda3208dca940e007cc6b9d259bdede193b.tar.bz2
tree-pass.h (pass_into_cfg_layout_mode, [...]): Declare.
* tree-pass.h (pass_into_cfg_layout_mode, pass_outof_cfg_layout_mode): Declare. * cfglayout.c (into_cfg_layout_mode, outof_cfg_layout_mode, pass_into_cfg_layout_mode, pass_outof_cfg_layout_mode): New. * passes.c (pass_into_cfg_layout_mode): Schedule before jump2. (pass_outof_cfg_layout_mode): Schedule after pass_rtl_ifcvt. From-SVN: r122858
Diffstat (limited to 'gcc/passes.c')
-rw-r--r--gcc/passes.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/passes.c b/gcc/passes.c
index 28bda44..b93cc6c 100644
--- a/gcc/passes.c
+++ b/gcc/passes.c
@@ -658,6 +658,7 @@ init_optimization_passes (void)
NEXT_PASS (pass_initial_value_sets);
NEXT_PASS (pass_unshare_all_rtl);
NEXT_PASS (pass_instantiate_virtual_regs);
+ NEXT_PASS (pass_into_cfg_layout_mode);
NEXT_PASS (pass_jump2);
NEXT_PASS (pass_lower_subreg);
NEXT_PASS (pass_cse);
@@ -665,6 +666,7 @@ init_optimization_passes (void)
NEXT_PASS (pass_gcse);
NEXT_PASS (pass_jump_bypass);
NEXT_PASS (pass_rtl_ifcvt);
+ NEXT_PASS (pass_outof_cfg_layout_mode);
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