[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
Wed Nov 19 02:38:54 PST 2025
================
@@ -3361,6 +3361,26 @@ static bool interp__builtin_ia32_vpconflict(InterpState &S, CodePtr OpPC,
return true;
}
+static bool interp__builtin_ia32_cvt_vec2mask(InterpState &S, CodePtr OpPC,
+ const CallExpr *Call,
+ unsigned ID) {
+ assert(Call->getNumArgs() == 1);
+
+ const Pointer &Vec = S.Stk.pop<Pointer>();
+ APInt RetMask(Vec.getNumElems(), 0);
----------------
RKSimon wrote:
RetWidth ?
https://github.com/llvm/llvm-project/pull/165054
More information about the cfe-commits
mailing list