[llvm] [IR][LangRef] Add partial reduction add intrinsic (PR #94499)
Graham Hunter via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 2 02:58:41 PDT 2024
================
@@ -6131,6 +6131,19 @@ void Verifier::visitIntrinsicCall(Intrinsic::ID ID, CallBase &Call) {
}
break;
}
+ case Intrinsic::experimental_vector_partial_reduce_add: {
+ VectorType *AccTy = cast<VectorType>(Call.getArgOperand(0)->getType());
+ VectorType *VecTy = cast<VectorType>(Call.getArgOperand(1)->getType());
+
+ auto VecWidth = VecTy->getElementCount().getKnownMinValue();
----------------
huntergr-arm wrote:
nit: more autos.
https://github.com/llvm/llvm-project/pull/94499
More information about the llvm-commits
mailing list