forked from OSchip/llvm-project
Fix exegesis build on aarch64-windows-msvc host
Include x86 intrinsics only when compiling for x86_64 or i386. _MSC_VER no longer implies x86. Reviewed By: gchatelet Differential Revision: https://reviews.llvm.org/D96498
This commit is contained in:
parent
9700228abc
commit
06f53f2f09
|
@ -26,7 +26,7 @@
|
|||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64))
|
||||
#include <immintrin.h>
|
||||
#include <intrin.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue