Commit 9c9e26f5 by Paolo Bonzini Committed by Paolo Bonzini

cfglayout.c (pass_into_cfg_layout_mode, [...]): Provide/destroy PROP_cfglayout respectively.

2009-03-09  Paolo Bonzini  <bonzini@gnu.org>

        * cfglayout.c (pass_into_cfg_layout_mode, pass_outof_cfg_layout_mode):
        Provide/destroy PROP_cfglayout respectively.
        * gcse.c (pass_jump_bypass, pass_gcse): Require it.
        * tree-pass.h (PROP_cfglayout): New.

From-SVN: r145282
parent 28ddeea1
2009-03-30 Paolo Bonzini <bonzini@gnu.org>
* cfglayout.c (pass_into_cfg_layout_mode, pass_outof_cfg_layout_mode):
Provide/destroy PROP_cfglayout respectively.
* gcse.c (pass_jump_bypass, pass_gcse): Require it.
* tree-pass.h (PROP_cfglayout): New.
2009-03-30 Paolo Bonzini <bonzini@gnu.org>
* fold-const.c (const_binop, fold_convert_const_real_from_fixed,
fold_convert_const_fixed_from_fixed,
fold_convert_const_fixed_from_int,
......
......@@ -365,7 +365,7 @@ struct rtl_opt_pass pass_into_cfg_layout_mode =
0, /* static_pass_number */
0, /* tv_id */
0, /* properties_required */
0, /* properties_provided */
PROP_cfglayout, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
TODO_dump_func, /* todo_flags_finish */
......@@ -385,7 +385,7 @@ struct rtl_opt_pass pass_outof_cfg_layout_mode =
0, /* tv_id */
0, /* properties_required */
0, /* properties_provided */
0, /* properties_destroyed */
PROP_cfglayout, /* properties_destroyed */
0, /* todo_flags_start */
TODO_dump_func, /* todo_flags_finish */
}
......
......@@ -6621,7 +6621,7 @@ struct rtl_opt_pass pass_jump_bypass =
NULL, /* next */
0, /* static_pass_number */
TV_BYPASS, /* tv_id */
0, /* properties_required */
PROP_cfglayout, /* properties_required */
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
......@@ -6692,7 +6692,7 @@ struct rtl_opt_pass pass_gcse =
NULL, /* next */
0, /* static_pass_number */
TV_GCSE, /* tv_id */
0, /* properties_required */
PROP_cfglayout, /* properties_required */
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
......
......@@ -210,6 +210,7 @@ struct dump_file_info
#define PROP_rtl (1 << 7)
#define PROP_alias (1 << 8)
#define PROP_gimple_lomp (1 << 9) /* lowered OpenMP directives */
#define PROP_cfglayout (1 << 10) /* cfglayout mode on RTL */
#define PROP_trees \
(PROP_gimple_any | PROP_gimple_lcf | PROP_gimple_leh | PROP_gimple_lomp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment