Commit 91db3537 by Tom de Vries

Note that pass_pre destroys PROP_no_crit_edges

2014-01-09  Tom de Vries  <tom@codesourcery.com>

	* tree-ssa-pre.c (pass_data_pre): Add comment about PROP_no_crit_edges
	in properties_required.  Add PROP_no_crit_edges to properties_destroyed.
	* tree-ssa-sink.c (pass_data_sink_code): Remove PROP_no_crit_edges
	from properties_required.

From-SVN: r206517
parent a3788dde
......@@ -4798,9 +4798,11 @@ const pass_data pass_data_pre =
true, /* has_gate */
true, /* has_execute */
TV_TREE_PRE, /* tv_id */
/* PROP_no_crit_edges is ensured by placing pass_split_crit_edges before
pass_pre. */
( PROP_no_crit_edges | PROP_cfg | PROP_ssa ), /* properties_required */
0, /* properties_provided */
0, /* properties_destroyed */
PROP_no_crit_edges, /* properties_destroyed */
TODO_rebuild_alias, /* todo_flags_start */
TODO_verify_ssa, /* todo_flags_finish */
};
......
......@@ -604,7 +604,9 @@ const pass_data pass_data_sink_code =
true, /* has_gate */
true, /* has_execute */
TV_TREE_SINK, /* tv_id */
( PROP_no_crit_edges | PROP_cfg | PROP_ssa ), /* properties_required */
/* PROP_no_crit_edges is ensured by running split_critical_edges in
execute_sink_code. */
( PROP_cfg | PROP_ssa ), /* properties_required */
0, /* properties_provided */
0, /* properties_destroyed */
0, /* todo_flags_start */
......
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