[clang] [Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - allow insertps intrinsic to be used in constexp (PR #165513)

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 30 08:17:32 PDT 2025


================
@@ -11622,7 +11622,8 @@ static bool evalPackBuiltin(const CallExpr *E, EvalInfo &Info, APValue &Result,
 static bool evalShuffleGeneric(
     EvalInfo &Info, const CallExpr *Call, APValue &Out,
     llvm::function_ref<std::pair<unsigned, unsigned>(unsigned, unsigned)>
-        GetSourceIndex) {
+        GetSourceIndex,
----------------
RKSimon wrote:

Remove ShouldZero and update this callback to match interp__builtin_ia32_shuffle_generic

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


More information about the cfe-commits mailing list