]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Note that pass_pre destroys PROP_no_crit_edges
authorTom de Vries <vries@gcc.gnu.org>
Fri, 10 Jan 2014 10:37:22 +0000 (10:37 +0000)
committerTom de Vries <vries@gcc.gnu.org>
Fri, 10 Jan 2014 10:37:22 +0000 (10:37 +0000)
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

gcc/tree-ssa-pre.c
gcc/tree-ssa-sink.c

index 2de5db56839038302bdd29432c423f77874e730d..1e55356556fd4287913c9a2d2aba3c735b64dce9 100644 (file)
@@ -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 */
 };
index a72a9e8c8f3df92ea24e2ae59630fc76294f6dbe..6d02975c4dda7608f31f446fa82903377e9eb0fb 100644 (file)
@@ -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 */