[clang] [X86][Clang] allow CRC32 intrinsics to be used in constexp (PR #173908)

Julian Pokrovsky via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 21 02:18:42 PST 2026


================
@@ -138,3 +138,30 @@ unsigned long long test_mm_crc32_u64(unsigned long long CRC, unsigned long long
   return _mm_crc32_u64(CRC, V);
 }
 #endif
+
+#if defined(__cplusplus) && (__cplusplus >= 201103L)
----------------
raventid wrote:

well spotted! fixed in https://github.com/llvm/llvm-project/pull/173908/changes/a0004ecd1cdbfc2b7d25b0dfc76d67dff1aea897

https://github.com/llvm/llvm-project/pull/173908


More information about the cfe-commits mailing list