This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix PR81175, make gather builtins pure
On Fri, Jun 23, 2017 at 3:22 PM, Richard Biener <email@example.com> wrote:
> On Fri, 23 Jun 2017, Marc Glisse wrote:
>> On Fri, 23 Jun 2017, Richard Biener wrote:
>> > The vectorizer is confused about the spurious VDEFs that are caused
>> > by gather vectorization so the following avoids them by making the
>> > builtins pure appropriately.
>> > Bootstrap / regtest pending on x86_64-unknown-linux-gnu, ok for
>> > trunk and branch?
>> > Thanks,
>> > Richard.
>> > 2017-06-23 Richard Biener <firstname.lastname@example.org>
>> > PR target/81175
>> > * config/i386/i386.c (struct builtin_isa): Add pure_p member.
>> > (def_builtin2): Initialize pure_p.
>> > (ix86_add_new_builtins): Honor pure_p.
>> > (def_builtin_pure): New function.
>> If you svn update (or equivalent), you will notice that the above is already
>> available ;-)
> Sorry, that was the GCC 7 variant of the patch ... just scrap the
> already available pieces for trunk ;)
The rest is OK.