[PATCH] D152914: [Draft] Make __builtin_cpu builtins target-independent

Pavel Iliin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 16 09:45:05 PDT 2023


ilinpv added a comment.

Thank you for the patch, it comes in the right time - we are also working on AArch64 __builtin_cpu_supports, and I was thinking how to make it more general.
I uploaded our RFC version for review https://reviews.llvm.org/D153153
It would be great to have in __builtin_cpu_supports argument string of plus-separated features. Just SemaBuiltinCpuSupports need to handle this.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152914/new/

https://reviews.llvm.org/D152914



More information about the cfe-commits mailing list