Include x86 intrinsics only when compiling for x86_64
or i386. _MSC_VER no longer implies x86.
Details
Details
- Reviewers
gchatelet - Commits
- rG06f53f2f095c: Fix exegesis build on aarch64-windows-msvc host
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Hi Tom,
OK to backport to release/12.x branch once this is merged to master? This will unblock RC builds for aarch64-windows-msvc (Windows on Arm).
llvm/tools/llvm-exegesis/lib/X86/Target.cpp | ||
---|---|---|
29 | Is it supported to compile this with real MSVC? I don't think this would evaluate to true there. I believe the MSVC-ism for this is defined(_M_IX86) || defined(_M_X64) |
llvm/tools/llvm-exegesis/lib/X86/Target.cpp | ||
---|---|---|
29 |
Yes indeed |
Is it supported to compile this with real MSVC? I don't think this would evaluate to true there. I believe the MSVC-ism for this is defined(_M_IX86) || defined(_M_X64)