summaryrefslogtreecommitdiffstats
path: root/lib/Headers/rdseedintrin.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-05-23 18:32:58 +0000
committerCraig Topper <craig.topper@intel.com>2018-05-23 18:32:58 +0000
commit7eb6f679d1b5344e56c2401170a3a9cfeac8b802 (patch)
tree4ba0adbf87097adfef4750ab113486545ac2257f /lib/Headers/rdseedintrin.h
parent7d2df6ba20eff2f87806604835b379b3602e5838 (diff)
[X86] Move all Intel defined intrinsic includes into immintrin.h
This matches the Intel documentation which shows them available by importing immintrin.h. x86intrin.h also includes immintrin.h so anyone including x86intrin.h will still get them. This is different than gcc, but I don't think we were a perfect match there already. I'm unclear what gcc's policy is about how they choose which to add things to. Differential Revision: https://reviews.llvm.org/D47182 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@333110 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Headers/rdseedintrin.h')
-rw-r--r--lib/Headers/rdseedintrin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Headers/rdseedintrin.h b/lib/Headers/rdseedintrin.h
index 421f4ea487..419466932c 100644
--- a/lib/Headers/rdseedintrin.h
+++ b/lib/Headers/rdseedintrin.h
@@ -21,7 +21,7 @@
*===-----------------------------------------------------------------------===
*/
-#ifndef __X86INTRIN_H
+#if !defined __X86INTRIN_H && !defined __IMMINTRIN_H
#error "Never use <rdseedintrin.h> directly; include <x86intrin.h> instead."
#endif