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

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 29 00:06:53 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
----------------
BaiXilin wrote:

I will aim to have one test for each intrinsic and type combo

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


More information about the llvm-commits mailing list