[PATCH] D96498: Fix exegesis build on aarch64-windows-msvc host

Maxim Kuvyrkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 12 01:51:14 PST 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG06f53f2f095c: Fix exegesis build on aarch64-windows-msvc host (authored by maxim-kuvyrkov).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96498/new/

https://reviews.llvm.org/D96498

Files:
  llvm/tools/llvm-exegesis/lib/X86/Target.cpp


Index: llvm/tools/llvm-exegesis/lib/X86/Target.cpp
===================================================================
--- llvm/tools/llvm-exegesis/lib/X86/Target.cpp
+++ llvm/tools/llvm-exegesis/lib/X86/Target.cpp
@@ -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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96498.323254.patch
Type: text/x-patch
Size: 430 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210212/6a9bdaf8/attachment.bin>


More information about the llvm-commits mailing list