mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-02 02:36:07 +00:00

Fix __has_builtin to return 1 only if the requested target features of a builtin are enabled by refactoring the code for checking required target features of a builtin and use it in evaluation of __has_builtin. Reviewed by: Artem Belevich Differential Revision: https://reviews.llvm.org/D125829