Commit eedfcb09 by Devang Patel Committed by Devang Patel

* tree-if-conv.c (clean_predicate_lists): Clean all basic blocks.

From-SVN: r91045
parent e0ddb4bd
2004-11-16 Devang Patel <dpatel@apple.com>
2004-11-22 Devang Patel <dpatel@apple.com>
* tree-if-conv.c (clean_predicate_lists): Clean all basic blocks.
2004-11-22 Devang Patel <dpatel@apple.com>
* tree-if-conv.c (if_convertable_phi_p): Rename to ...
(if_convertible_phi_p): ... new name.
......
......@@ -657,11 +657,13 @@ add_to_dst_predicate_list (struct loop * loop, basic_block bb,
static void
clean_predicate_lists (struct loop *loop)
{
#ifdef ENABLE_CHECKING
gcc_assert (loop->num_nodes == 2 || loop->num_nodes == 1);
#endif
loop->header->aux = NULL;
loop->latch->aux = NULL;
basic_block *bb;
unsigned int i;
bb = get_loop_body (loop);
for (i = 0; i < loop->num_nodes; i++)
bb[i]->aux = NULL;
free (bb);
}
/* Basic block BB has two predecessors. Using predecessor's aux field, set
......
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