Commit ea74eb1a by Nico Weber Committed by Nico Weber

Merge recent changes from LLVM's lib/Support/Atomic.cpp

In particular, https://reviews.llvm.org/D36281 Bug: chromium:495204 Change-Id: I48afb5b8dd594ce1b43c6ca9fb20638d40119236 Reviewed-on: https://swiftshader-review.googlesource.com/11248Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarNico Weber <thakis@google.com>
parent aadf3e13
......@@ -17,7 +17,9 @@
using namespace llvm;
#if defined(_MSC_VER)
#include <Intrin.h>
#include <intrin.h>
// We must include windows.h after intrin.h.
#include <windows.h>
#undef MemoryFence
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment