summaryrefslogtreecommitdiff
path: root/gcc/tree-if-conv.c
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-26 16:46:12 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-26 16:46:12 +0000
commitcd40b2d311ead6ed28393516fc04711c5861fd80 (patch)
tree2de466b7eb71bff04fa7861253067984dc09f758 /gcc/tree-if-conv.c
parentdd3354aa6d89f71b01b8ea6c95e59b8ec5511083 (diff)
downloadgcc-cd40b2d311ead6ed28393516fc04711c5861fd80.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159882 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-if-conv.c')
-rw-r--r--gcc/tree-if-conv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gcc/tree-if-conv.c b/gcc/tree-if-conv.c
index ba3b7c6848a..23d71a044cf 100644
--- a/gcc/tree-if-conv.c
+++ b/gcc/tree-if-conv.c
@@ -624,7 +624,6 @@ if_convertible_loop_p (struct loop *loop)
}
calculate_dominance_info (CDI_DOMINATORS);
- calculate_dominance_info (CDI_POST_DOMINATORS);
/* Allow statements that can be handled during if-conversion. */
ifc_bbs = get_loop_body_in_if_conv_order (loop);
@@ -632,7 +631,6 @@ if_convertible_loop_p (struct loop *loop)
{
if (dump_file && (dump_flags & TDF_DETAILS))
fprintf (dump_file, "Irreducible loop\n");
- free_dominance_info (CDI_POST_DOMINATORS);
return false;
}
@@ -664,7 +662,6 @@ if_convertible_loop_p (struct loop *loop)
if (dump_file)
fprintf (dump_file, "Applying if-conversion\n");
- free_dominance_info (CDI_POST_DOMINATORS);
return true;
}
@@ -1026,7 +1023,6 @@ tree_if_conversion (struct loop *loop)
free (ifc_bbs);
ifc_bbs = NULL;
}
- free_dominance_info (CDI_POST_DOMINATORS);
return;
}