Skip to content

Commit fe00f16

Browse files
committed
[Support] Include intrin.h for MSVC intrinsics in xxhash.cpp
`__umulh` added in llvm#95863 requires `intrin.h`, make sure to include it.
1 parent 5bc9c53 commit fe00f16

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

llvm/lib/Support/xxhash.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060
#include <arm_neon.h>
6161
#endif
6262

63+
#if defined(_MSC_VER)
64+
#include <intrin.h>
65+
#endif
66+
6367
using namespace llvm;
6468
using namespace support;
6569

0 commit comments

Comments
 (0)