[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - add SSE/AVX VPTEST/VTESTPD/VTESTPS intrinsics to be used in constexpr (PR #159684)
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 19 02:37:47 PDT 2025
================
@@ -12025,6 +12025,56 @@ bool VectorExprEvaluator::VisitCallExpr(const CallExpr *E) {
return Success(APValue(ResultElements.data(), ResultElements.size()), E);
}
+ case X86::BI__builtin_ia32_ptestz128: {
----------------
RKSimon wrote:
won't this need to be in IntExprEvaluator.VisitBuiltinCallExpr ? like reductions it returns a scalar not a vector
https://github.com/llvm/llvm-project/pull/159684
More information about the cfe-commits
mailing list