This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH GCC][03/13]Mark and skip distributed loops
- From: "Bin.Cheng" <amker dot cheng at gmail dot com>
- To: Richard Biener <richard dot guenther at gmail dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 13 Jun 2017 11:58:57 +0100
- Subject: Re: [PATCH GCC][03/13]Mark and skip distributed loops
- Authentication-results: sourceware.org; auth=none
- References: <VI1PR0802MB21767C65CF638F9E628ADAD5E7CD0@VI1PR0802MB2176.eurprd08.prod.outlook.com> <CAFiYyc00MX6oFmTfSkkxbeA+LgUJt5rvezf=DK=saPX+VsrBdw@mail.gmail.com>
On Tue, Jun 13, 2017 at 11:47 AM, Richard Biener
<richard.guenther@gmail.com> wrote:
> On Mon, Jun 12, 2017 at 7:02 PM, Bin Cheng <Bin.Cheng@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.cheng@arm.com>
>>
>> * tree-loop-distribution.c (generate_loops_for_partition): Mark
>> distributed loops.
>> (pass_loop_distribution::execute): Skip distributed loops.