[clang] [llvm] [x86][AVX-VNNI] Fix VPDPBUSD Argument Types (PR #155194)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 28 23:04:23 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 thought this change should be covered by the upgrades tests? I updated all existing upgrade tests that covered all affected intrinsic/types.
https://github.com/llvm/llvm-project/pull/155194
More information about the llvm-commits
mailing list