[clang] [clang][ARM][AArch64] Reapply "Define intrinsics guarded by __has_builtin on all platforms (#128222)" (PR #140910)

Nick Sarnie via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 12 07:56:38 PDT 2025


sarnex wrote:

Sorry, I'm not sure I understand the bug. For me, adding `#include <arm_acle.h>` fixed the warning. 

It seems true that MSVC doesn't provide `arm_acle.h` and `__yield()` is declared in `intrin0.inl.h`, but `clang` headers does have `arm_acle.h` and we are compiling with Clang which should have access to Clang's headers?

Is the assumption that Clang's headers provide the exact same header to intrinsic declaration mapping as MSVC's headers?





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


More information about the cfe-commits mailing list