+2009-10-22 Razya Ladelsky <razya@il.ibm.com>
+
+ * testsuite/gcc.dg/autopar/outer-4.c: Adjust scan.
+ * testsuite/gcc.dg/autopar/outer-5.c: Adjust scan.
+ * testsuite/gcc.dg/autopar/outer-5.c: Add scan optimized.
+ * tree-cfg.c(gimple_duplicate_sese_tail): Fix typos/indentation/white space.
+
2009-10-22 Richard Guenther <rguenther@suse.de>
* lto-streamer.h (lto_symtab_merge_cgraph_nodes): Declare.
}
-/* Check that outer loop is parallelized. */
-/* { dg-final { scan-tree-dump-times "parallelizing outer loop" 0 "parloops" } } */
-/* { dg-final { scan-tree-dump-times "parallelizing inner loop" 1 "parloops" } } */
+/* { dg-final { scan-tree-dump-times "parallelizing outer loop" 1 "parloops" { xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump-times "loopfn" 5 "optimized" } } */
/* { dg-final { cleanup-tree-dump "parloops" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
return 0;
}
-
-/* Check that outer loop is parallelized. */
-/* { dg-final { scan-tree-dump-times "parallelizing outer loop" 0 "parloops" } } */
-/* { dg-final { scan-tree-dump-times "parallelizing inner loop" 1 "parloops" } } */
+/* { dg-final { scan-tree-dump-times "parallelizing outer loop" 1 "parloops" { xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump-times "loopfn" 5 "optimized" } } */
/* { dg-final { cleanup-tree-dump "parloops" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
/* If the block consisting of the exit condition has the latch as
successor, then the body of the loop is executed before
- the exit consition is tested. In such case, moving the
+ the exit condition is tested. In such case, moving the
condition to the entry, causes that the loop will iterate
one less iteration (which is the wanted outcome, since we
peel out the last iteration). If the body is executed after
{
iters_bb = gimple_bb (SSA_NAME_DEF_STMT (gimple_cond_rhs (cond_stmt)));
for (gsi1 = gsi_start_bb (iters_bb); !gsi_end_p (gsi1); gsi_next (&gsi1))
- if (gsi_stmt (gsi1)==SSA_NAME_DEF_STMT (gimple_cond_rhs (cond_stmt)))
+ if (gsi_stmt (gsi1) == SSA_NAME_DEF_STMT (gimple_cond_rhs (cond_stmt)))
break;
new_rhs = force_gimple_operand_gsi (&gsi1, new_rhs, true,
/* If the block consisting of the exit condition has the latch as
successor, then the body of the loop is executed before
- the exit consition is tested.
+ the exit condition is tested.
{ body }
{ cond } (exit[0]) -> { latch }
region_copy[i]->flags |= BB_DUPLICATED;
/* Iterate all incoming edges to latch. All those coming from
- copied bbs will be redicrecred to exit_bb. */
+ copied bbs will be redirected to exit_bb. */
FOR_EACH_EDGE (e, ei, orig_loop->latch->preds)
{
if (e->src->flags & BB_DUPLICATED)
}
VEC_free (edge, heap, redirect_edges);
-
-
+
/* Anything that is outside of the region, but was dominated by something
inside needs to update dominance info. */
iterate_fix_dominators (CDI_DOMINATORS, doms, false);
VEC_free (basic_block, heap, doms);
-
+
/* Update the SSA web. */
update_ssa (TODO_update_ssa);
-
+
if (free_region_copy)
free (region_copy);
-
+
free_original_copy_tables ();
return true;
}