Commit d7309618 by Sebastian Pop Committed by Sebastian Pop

Do not compute/free CDI_POST_DOMINATORS.

2010-05-26  Sebastian Pop  <sebastian.pop@amd.com>

	* tree-if-conv.c (if_convertible_loop_p): Do not compute/free
	CDI_POST_DOMINATORS.
	(tree_if_conversion): Same.

From-SVN: r159882
parent 7b371e73
2010-05-26 Sebastian Pop <sebastian.pop@amd.com> 2010-05-26 Sebastian Pop <sebastian.pop@amd.com>
* tree-if-conv.c (if_convertible_loop_p): Do not compute/free
CDI_POST_DOMINATORS.
(tree_if_conversion): Same.
2010-05-26 Sebastian Pop <sebastian.pop@amd.com>
* tree-if-conv.c (tree_if_conversion): Do not return a bool. * tree-if-conv.c (tree_if_conversion): Do not return a bool.
2010-05-26 Sebastian Pop <sebastian.pop@amd.com> 2010-05-26 Sebastian Pop <sebastian.pop@amd.com>
......
...@@ -624,7 +624,6 @@ if_convertible_loop_p (struct loop *loop) ...@@ -624,7 +624,6 @@ if_convertible_loop_p (struct loop *loop)
} }
calculate_dominance_info (CDI_DOMINATORS); calculate_dominance_info (CDI_DOMINATORS);
calculate_dominance_info (CDI_POST_DOMINATORS);
/* Allow statements that can be handled during if-conversion. */ /* Allow statements that can be handled during if-conversion. */
ifc_bbs = get_loop_body_in_if_conv_order (loop); ifc_bbs = get_loop_body_in_if_conv_order (loop);
...@@ -632,7 +631,6 @@ if_convertible_loop_p (struct loop *loop) ...@@ -632,7 +631,6 @@ if_convertible_loop_p (struct loop *loop)
{ {
if (dump_file && (dump_flags & TDF_DETAILS)) if (dump_file && (dump_flags & TDF_DETAILS))
fprintf (dump_file, "Irreducible loop\n"); fprintf (dump_file, "Irreducible loop\n");
free_dominance_info (CDI_POST_DOMINATORS);
return false; return false;
} }
...@@ -664,7 +662,6 @@ if_convertible_loop_p (struct loop *loop) ...@@ -664,7 +662,6 @@ if_convertible_loop_p (struct loop *loop)
if (dump_file) if (dump_file)
fprintf (dump_file, "Applying if-conversion\n"); fprintf (dump_file, "Applying if-conversion\n");
free_dominance_info (CDI_POST_DOMINATORS);
return true; return true;
} }
...@@ -1026,7 +1023,6 @@ tree_if_conversion (struct loop *loop) ...@@ -1026,7 +1023,6 @@ tree_if_conversion (struct loop *loop)
free (ifc_bbs); free (ifc_bbs);
ifc_bbs = NULL; ifc_bbs = NULL;
} }
free_dominance_info (CDI_POST_DOMINATORS);
return; return;
} }
......
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