This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Init df for split pass since some target use REG_NOTE in split pattern
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Jeff Law <law at redhat dot com>,Kito Cheng <kito dot cheng at gmail dot com>,"gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 25 Jul 2016 20:35:28 +0200
- Subject: Re: Init df for split pass since some target use REG_NOTE in split pattern
- Authentication-results: sourceware.org; auth=none
- References: <CA+yXCZBAiG8ckW692_dxWjicb1w8WX3LwVnnBB0Ew1aL=NXe4A@mail.gmail.com> <5071e6c0-afbc-0afd-50e2-8dfc81a7428b@redhat.com>
On July 25, 2016 5:56:29 PM GMT+02:00, Jeff Law <law@redhat.com> wrote:
>On 07/25/2016 12:36 AM, Kito Cheng wrote:
>> Hi all:
>>
>> Some target(for example i386, sh and h8300) use find_regno_note in
>> split pattern but df infrastructure seem not initialize at split
>pass,
>> so it may got wrong note since it's out-of-date.
>>
>> ChangeLog
>> 2016-07-25 Kito Cheng <kito.cheng@gmail.com>
>>
>> * gcc/recog.c (split_all_insns): Initialize df for split
>pass.
>> (split_all_insns_noflow): Likewise.
>>
>Patch was not included/attached to your message. Please resend with
>the
>patch and hopefully a testcase which exhibits the problem.
And maybe back ends shouldn't look at notes in their splitters?
Richard.
>jeff