summaryrefslogtreecommitdiffstats
path: root/lib/Headers/x86intrin.h
diff options
context:
space:
mode:
authorGabor Buella <gabor.buella@intel.com>2018-04-20 18:44:33 +0000
committerGabor Buella <gabor.buella@intel.com>2018-04-20 18:44:33 +0000
commitac235578c0e799549718f89572a170e924220848 (patch)
treee6f280a2df662028eee5520309a44ae9bd0a9e4f /lib/Headers/x86intrin.h
parentb55a60fc58fee669587a69c7ada747e88cc59c14 (diff)
[X86] WaitPKG intrinsics
Reviewers: craig.topper, zvi Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D45254 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330463 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Headers/x86intrin.h')
-rw-r--r--lib/Headers/x86intrin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Headers/x86intrin.h b/lib/Headers/x86intrin.h
index 8da33de940..b1dadc5818 100644
--- a/lib/Headers/x86intrin.h
+++ b/lib/Headers/x86intrin.h
@@ -96,4 +96,8 @@
#include <cldemoteintrin.h>
#endif
+#if !defined(_MSC_VER) || __has_feature(modules) || defined(__WAITPKG__)
+#include <waitpkgintrin.h>
+#endif
+
#endif /* __X86INTRIN_H */