From 30c0c2b62b155af5bbce72482124d42340827567 Mon Sep 17 00:00:00 2001 From: Pavel P Date: Thu, 18 Apr 2024 03:36:48 +0200 Subject: [PATCH] Remove unnecessary limitation for clang-cl or icx clang-cl or icx (Intel's new llvm-based compiler) both define _MSC_VER on windows. Both compile this code without issues, therefore, there is no need to exclude them --- absl/crc/internal/crc32_x86_arm_combined_simd.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/absl/crc/internal/crc32_x86_arm_combined_simd.h b/absl/crc/internal/crc32_x86_arm_combined_simd.h index aa6a65954f2..2dc76868093 100644 --- a/absl/crc/internal/crc32_x86_arm_combined_simd.h +++ b/absl/crc/internal/crc32_x86_arm_combined_simd.h @@ -33,8 +33,7 @@ #include #define ABSL_CRC_INTERNAL_HAVE_X86_SIMD -#elif defined(_MSC_VER) && !defined(__clang__) && defined(__AVX__) && \ - defined(_M_AMD64) +#elif defined(_MSC_VER) && defined(__AVX__) // MSVC AVX (/arch:AVX) implies SSE 4.2 and PCLMULQDQ. #include