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

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 3 02:04:46 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
----------------
RKSimon wrote:

Is `TEST_STD_VER` a thing? Why not `#if defined(__cplusplus) && (__cplusplus >= 201103L)` like everywhere else?

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


More information about the cfe-commits mailing list