[PATCH] Teach X86 builtins which target features they require

Justin Bogner mail at justinbogner.com
Mon Aug 3 15:08:23 PDT 2015


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 --------------
A non-text attachment was scrubbed...
Name: x86-builtin-features.patch
Type: text/x-patch
Size: 185642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150803/7c51c8ad/attachment.bin>


More information about the cfe-commits mailing list