[clang] [compiler-rt] [llvm] [X86] Support APXF to enable __builtin_cpu_supports. (PR #80636)

Freddy Ye via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 22 00:36:00 PST 2024


FreddyLeaf wrote:

> You may also need to transfer "apxf" feature into subfeatures here https://github.com/llvm/llvm-project/blob/main/clang/lib/Basic/Targets/X86.cpp#L106

Thanks for pointing out! This looks like the change required by supporting attribute((target("apxf"))). While that supports require other relate changes such as adding supports for apxf in X86TargetInfo::isValidFeatureName. I prefer to do it in another PR.


https://github.com/llvm/llvm-project/pull/80636


More information about the llvm-commits mailing list