[clang] [Headers][X86] VectorExprEvaluator::VisitCallExpr - allow SSE/AVX2/AVX512 pack intrinsics to be used in constexpr (PR #156003)
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 19 06:34:21 PDT 2025
================
@@ -2604,6 +2605,51 @@ static bool interp__builtin_elementwise_int_binop(
return true;
}
+static bool interp__builtin_x86_pack(
+ InterpState &S, CodePtr, const CallExpr *E,
+ llvm::function_ref<APSInt(const APSInt &)> narrowElement) {
----------------
RKSimon wrote:
narrowElement -> PackFn?
https://github.com/llvm/llvm-project/pull/156003
More information about the cfe-commits
mailing list