RBIT Instruction only available for ARMv6t2 and above.
[oota-llvm.git] / lib / Support / Atomic.cpp
index 9559ad729570d5c6814a43f825df4d17a5878d39..ac4ff3eb5c6650e47c94d3e81a6e5de3248f956d 100644 (file)
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-//  This header file implements atomic operations.
+//  This file implements atomic operations.
 //
 //===----------------------------------------------------------------------===//
 
@@ -17,6 +17,7 @@
 using namespace llvm;
 
 #if defined(_MSC_VER)
+#include <Intrin.h>
 #include <windows.h>
 #undef MemoryFence
 #endif