diff options
author | Martin Storsjo <martin@martin.st> | 2017-08-03 19:04:28 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2017-08-03 19:04:28 +0000 |
commit | becd2ef602f52a50134be9e9743dcc1e7cd44561 (patch) | |
tree | 10b870aad86251ee11aa2ca8ed57591bb07f8f1f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 3eaab9620d2892093a10d2f5f23b0763a59c8237 (diff) | |
download | bcm5719-llvm-becd2ef602f52a50134be9e9743dcc1e7cd44561.tar.gz bcm5719-llvm-becd2ef602f52a50134be9e9743dcc1e7cd44561.zip |
[builtins] Use Interlocked* intrinsics for atomics on MSVC
Tested on MSVC 2013, 2015 and 2017 targeting X86, X64 and ARM.
This fixes building emutls.c for Windows for ARM (both with clang
which don't need these atomics fallbacks at all, but just failed
due to the immintrin.h include before, and with MSVC).
Differential Revision: https://reviews.llvm.org/D36071
llvm-svn: 309974
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions