[clang] [clang][x86] Add constexpr support for VNNI intrinsics (PR #190549)

Akash Deo via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 8 17:28:02 PDT 2026


================
@@ -4189,6 +4189,56 @@ static bool interp__builtin_ia32_gfni_mul(InterpState &S, CodePtr OpPC,
   return true;
 }
 
+static bool interp__builtin_ia32_vpdp(InterpState &S, CodePtr OpPC,
+                                      const CallExpr *Call, bool IsSaturating) {
+  const auto *SrcVecT = Call->getArg(0)->getType()->castAs<VectorType>();
----------------
AkashDeoNU wrote:

I added some checks for the number of arguments, and the type of all the arguments

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


More information about the cfe-commits mailing list