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

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 26 01:28:31 PDT 2025


================
@@ -3902,8 +3902,9 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
            ReturnType->getPrimitiveSizeInBits());
 
     if (I.arg_size() == 3) {
-      assert(ParamType == ReturnType);
-      assert(ParamType == I.getArgOperand(0)->getType());
+      FixedVectorType *AccumulatorType =
+          cast<FixedVectorType>(I.getOperand(0)->getType());
----------------
RKSimon wrote:

(style) `auto *AccumulatorType = cast<FixedVectorType>(I.getOperand(0)->getType());`

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


More information about the cfe-commits mailing list