tree-if-conv.c (clean_predicate_lists): Use loop header and latch directly.
* tree-if-conv.c (clean_predicate_lists): Use loop header and latch directly. From-SVN: r90565
This commit is contained in:
parent
7a4702d25b
commit
b3776043e3
|
@ -1,3 +1,8 @@
|
|||
2004-11-12 Devang Patel <dpatel@apple.com>
|
||||
|
||||
* tree-if-conv.c (clean_predicate_lists): Use loop header
|
||||
and latch directly.
|
||||
|
||||
2004-11-12 Richard Henderson <rth@redhat.com>
|
||||
|
||||
PR 17778
|
||||
|
|
|
@ -657,10 +657,11 @@ add_to_dst_predicate_list (struct loop * loop, basic_block bb,
|
|||
static void
|
||||
clean_predicate_lists (struct loop *loop)
|
||||
{
|
||||
unsigned int i;
|
||||
|
||||
for (i = 0; i < loop->num_nodes; i++)
|
||||
ifc_bbs[i]->aux = NULL;
|
||||
#ifdef ENABLE_CHECKING
|
||||
gcc_assert (loop->num_nodes == 2);
|
||||
#endif
|
||||
loop->header->aux = NULL;
|
||||
loop->latch->aux = NULL;
|
||||
}
|
||||
|
||||
/* Basic block BB has two predecessors. Using predecessor's aux field, set
|
||||
|
|
Loading…
Reference in New Issue