llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
28.18k stars 11.63k forks source link

Support `WinNt.h` intrinsics as builtins in x64 Mode #18325

Open llvmbot opened 10 years ago

llvmbot commented 10 years ago
Bugzilla Link 17951
Version unspecified
OS Windows NT
Reporter LLVM Bugzilla Contributor
CC @DougGregor

Extended Description

Some builtins are declared in the windows headers and cannot be implemented there, so they must behave as builtins in clang.

llvmbot commented 10 years ago
_mm_prefetch
_InterlockedAdd
_InterlockedCompareExchange
_InterlockedIncrement
_InterlockedDecrement

were added in r201734. This list isn't complete so I'm not closing the bug yet.