Re: [PATCH] Handle loops with control flow in loop-distribution

2013-09-17 Thread Andreas Schwab
Installed as obvious. Andreas. * gcc.dg/tree-ssa/ldist-22.c (main): Return zero. diff --git a/gcc/testsuite/gcc.dg/tree-ssa/ldist-22.c b/gcc/testsuite/gcc.dg/tree-ssa/ldist-22.c index f6fff77..afc792f 100644 --- a/gcc/testsuite/gcc.dg/tree-ssa/ldist-22.c +++ b/gcc/testsuite/gcc.dg/tree-

[PATCH] Handle loops with control flow in loop-distribution

2013-09-13 Thread Richard Biener
The following patch makes loop-distribution able to distribute loops that have control flow. It does so by adding control dependence edges to the RDG (removing the need for special-casing the loop exit condition and its dependencies). With this we can now distribute the loop of the testcase f