[PATCH] Fix PR81175, make gather builtins pure

Marc Glisse marc.glisse@inria.fr
Fri Jun 23 13:17:00 GMT 2017


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  <rguenther@suse.de>
>
> 	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 ;-)


-- 
Marc Glisse



More information about the Gcc-patches mailing list