================
@@ -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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to