r333124 - [X86] Move the include of clzerointrin.h from immintrin.h back to x86intrin.h.
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Wed May 23 14:04:26 PDT 2018
Author: ctopper
Date: Wed May 23 14:04:26 2018
New Revision: 333124
URL: http://llvm.org/viewvc/llvm-project?rev=333124&view=rev
Log:
[X86] Move the include of clzerointrin.h from immintrin.h back to x86intrin.h.
This is an AMD intrinsic not an Intel intrinsic so it shouldn't be in immintrin.h
Modified:
cfe/trunk/lib/Headers/immintrin.h
cfe/trunk/lib/Headers/x86intrin.h
Modified: cfe/trunk/lib/Headers/immintrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/immintrin.h?rev=333124&r1=333123&r2=333124&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/immintrin.h (original)
+++ cfe/trunk/lib/Headers/immintrin.h Wed May 23 14:04:26 2018
@@ -347,10 +347,6 @@ _writegsbase_u64(unsigned long long __V)
#include <rdseedintrin.h>
#endif
-#if !defined(_MSC_VER) || __has_feature(modules) || defined(__CLZERO__)
-#include <clzerointrin.h>
-#endif
-
#if !defined(_MSC_VER) || __has_feature(modules) || defined(__WBNOINVD__)
#include <wbnoinvdintrin.h>
#endif
Modified: cfe/trunk/lib/Headers/x86intrin.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Headers/x86intrin.h?rev=333124&r1=333123&r2=333124&view=diff
==============================================================================
--- cfe/trunk/lib/Headers/x86intrin.h (original)
+++ cfe/trunk/lib/Headers/x86intrin.h Wed May 23 14:04:26 2018
@@ -60,4 +60,9 @@
#include <mwaitxintrin.h>
#endif
+#if !defined(_MSC_VER) || __has_feature(modules) || defined(__CLZERO__)
+#include <clzerointrin.h>
+#endif
+
+
#endif /* __X86INTRIN_H */
More information about the cfe-commits
mailing list