On Tue, Jun 13, 2017 at 11:47 AM, Richard Biener <richard.guent...@gmail.com> wrote: > On Mon, Jun 12, 2017 at 7:02 PM, Bin Cheng <bin.ch...@arm.com> wrote: >> Hi, >> This simple patch marks distributed loops and skips it in following >> distribution. >> >> Bootstrap and test on x86_64 and AArch64. Is it OK? > > This is not necessary, FOR_EACH_LOOP first builds a vector of loops to > iterate over > so it will never pick up loops added during iteration. This was originally for loop nest distribution, but I didn't include that part in this series. I will withdraw it for now.
Thanks, bin > > Richard. > >> Thanks, >> bin >> 2017-06-07 Bin Cheng <bin.ch...@arm.com> >> >> * tree-loop-distribution.c (generate_loops_for_partition): Mark >> distributed loops. >> (pass_loop_distribution::execute): Skip distributed loops.