aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-if-conv.c
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2010-05-26 16:46:12 +0000
committerSebastian Pop <spop@gcc.gnu.org>2010-05-26 16:46:12 +0000
commitd730961859e499ae00626d5aed1c9ef11282fb1a (patch)
tree2de466b7eb71bff04fa7861253067984dc09f758 /gcc/tree-if-conv.c
parent7b371e73d8f54518f30ac28c978eabfd684e7af7 (diff)
downloadgcc-d730961859e499ae00626d5aed1c9ef11282fb1a.zip
gcc-d730961859e499ae00626d5aed1c9ef11282fb1a.tar.gz
gcc-d730961859e499ae00626d5aed1c9ef11282fb1a.tar.bz2
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
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 ba3b7c6..23d71a0 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;
}