[llvm] 9287eb3 - [llvm-exegesis] Fix rGaf658d920e2b
Clement Courbet via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 4 04:23:48 PST 2020
Author: Clement Courbet
Date: 2020-11-04T13:23:34+01:00
New Revision: 9287eb352e6c8107de7b2714ed5e1ae89524adc2
URL: https://github.com/llvm/llvm-project/commit/9287eb352e6c8107de7b2714ed5e1ae89524adc2
DIFF: https://github.com/llvm/llvm-project/commit/9287eb352e6c8107de7b2714ed5e1ae89524adc2.diff
LOG: [llvm-exegesis] Fix rGaf658d920e2b
Add missing header.
```
../../llvm/tools/llvm-exegesis/lib/X86/Target.cpp(606,14): error: use of undeclared identifier '__readeflags'
Eflags = __readeflags();
```
Added:
Modified:
llvm/tools/llvm-exegesis/lib/X86/Target.cpp
Removed:
################################################################################
diff --git a/llvm/tools/llvm-exegesis/lib/X86/Target.cpp b/llvm/tools/llvm-exegesis/lib/X86/Target.cpp
index 005ee4e9a129..e8fb025f9611 100644
--- a/llvm/tools/llvm-exegesis/lib/X86/Target.cpp
+++ b/llvm/tools/llvm-exegesis/lib/X86/Target.cpp
@@ -28,6 +28,7 @@
#include <vector>
#if defined(_MSC_VER)
#include <immintrin.h>
+#include <intrin.h>
#endif
namespace llvm {
More information about the llvm-commits
mailing list