]> granicus.if.org Git - clang/commit
Add 64-bit MS _Interlocked functions as builtins again
authorAlbert Gutowski <agutowski@google.com>
Thu, 13 Oct 2016 22:35:07 +0000 (22:35 +0000)
committerAlbert Gutowski <agutowski@google.com>
Thu, 13 Oct 2016 22:35:07 +0000 (22:35 +0000)
commiteb6f2085033b79dfcf3c73a1c630fb8e87e18895
tree4adacc0c2018dc1fb44b4d797f421373ab1da337
parent18ab44116f853babee03bb4f9a26502b4ac3ddf6
Add 64-bit MS _Interlocked functions as builtins again

Summary: Previously global 64-bit versions of _Interlocked functions broke buildbots on i386, so now I'm adding them as builtins for x86-64 and ARM only (should they be also on AArch64? I had problems with testing it for AArch64, so I left it)

Reviewers: hans, majnemer, mstorsjo, rnk

Subscribers: cfe-commits, aemerson

Differential Revision: https://reviews.llvm.org/D25576

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284172 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/BuiltinsARM.def
include/clang/Basic/BuiltinsX86_64.def
lib/CodeGen/CGBuiltin.cpp
lib/Headers/intrin.h
test/CodeGen/ms-intrinsics.c