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

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 29 01:19:41 PDT 2025


================
@@ -1108,27 +1108,27 @@ let Features = "avx512f,evex512", Attributes = [NoThrow, Const, RequiredVectorWi
 }
 
 let Features = "avx512vl,avx512vnni|avxvnni", Attributes = [NoThrow, Const, RequiredVectorWidth<128>] in {
-  def vpdpbusd128 : X86Builtin<"_Vector<4, int>(_Vector<4, int>, _Vector<4, int>, _Vector<4, int>)">;
+  def vpdpbusd128 : X86Builtin<"_Vector<4, int>(_Vector<4, int>, _Vector<16, char>, _Vector<16, char>)">;
----------------
RKSimon wrote:

Docs say that the first argument is treated as unsigned, second argument is treated as signed, so should this be:
```
X86Builtin<"_Vector<4, int>(_Vector<4, int>, _Vector<16, unsigned char>, _Vector<16, char>)"
```
(same for below)

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


More information about the llvm-commits mailing list