[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:44:10 PDT 2025


sarnex wrote:

I think this repros it:

```
#include <intrin.h>
#define YIELD_PROCESSOR __yield()
int main() {
YIELD_PROCESSOR;
return 0;
}```

```
clang-cl repro.c -target aarch64-windows-msvc
```

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


More information about the cfe-commits mailing list