[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow AVX512 mask predicate intrinsics to be used in constexpr (PR #165054)
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 17 05:47:51 PST 2025
================
@@ -3051,12 +3051,24 @@ __mmask16 test_mm_movepi8_mask(__m128i __A) {
return _mm_movepi8_mask(__A);
}
+TEST_CONSTEXPR(_mm_movepi8_mask(
+ ((__m128i)(__v16qi){0, 1, char(129), 3, 4, 5, 6, 7,
+ 8, 9, 10, 11, 12, 13, 14, 15})
+) == (__mmask16)0x0004);
----------------
RKSimon wrote:
Just put the whole test on a single line - 80col isn't helping us here
https://github.com/llvm/llvm-project/pull/165054
More information about the cfe-commits
mailing list