[clang] Issue #162051: [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add AVX512 KTEST/KORTEST intrinsics to be used in constexpr (PR #166103)

Roberto Turrado Camblor via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 3 09:20:04 PST 2025


================
@@ -242,6 +250,16 @@ unsigned char test_kortest_mask32_u8(__m512i __A, __m512i __B, __m512i __C, __m5
                             _mm512_cmpneq_epu16_mask(__C, __D), CF);
 }
 
+#if TEST_STD_VER > 17
----------------
rturrado wrote:

Thanks! I don't remember exactly where I took the `#if TEST_STD_VER > 17` from. But I was looking for an example to use `TEST_CONSTEXPR` with a function. I'll change it to your suggestion.

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


More information about the cfe-commits mailing list