[clang] [llvm] [x86][AVX-VNNI] Fix VPDPBUSD Argument Types (PR #155194)

Phoebe Wang via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 28 05:24:57 PDT 2025


================
@@ -4148,6 +4148,34 @@ static Value *upgradeX86IntrinsicCall(StringRef Name, CallBase *CI, Function *F,
 
     Value *Args[] = {CI->getArgOperand(0), CI->getArgOperand(1),
                      CI->getArgOperand(2)};
+
+    // Input arguments types were incorrectly set to vectors of i32 before but
+    // they should be vectors of i8. Insert bit cast when encountering the old
+    // types
----------------
phoebewang wrote:

Add at least one test for it?

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


More information about the cfe-commits mailing list