[PATCH] Teach X86 builtins which target features they require

Eric Christopher echristo at gmail.com
Mon Aug 3 15:14:03 PDT 2015


Thank you for the somewhat ridiculous amount of typing there :)

Might need some changes when I use it, but obviously having the information
there is better than not so LGTM :)

-eric

On Mon, Aug 3, 2015 at 3:08 PM Justin Bogner <mail at justinbogner.com> wrote:

> This adds the required target feature names to x86 builtins that need
> particular features. Most have exactly one ("avx", "aes", etc), but some
> of the avx512 features have multiple requirements, eg "avx512vl,avx512bw".
>
> Eric: this should be what you need to implement the warning for using
> functions with unsatisfied target requirements for builtins.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150803/56ae9c76/attachment.html>


More information about the cfe-commits mailing list