[llvm] [AArch64] Lower partial add reduction to udot or svdot (PR #101010)
Sam Tebbs via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 05:52:18 PDT 2024
================
@@ -3533,6 +3533,36 @@ AArch64TTIImpl::getCostOfKeepingLiveOverCall(ArrayRef<Type *> Tys) {
return Cost;
}
+bool AArch64TTIImpl::isPartialReductionSupported(
+ const Instruction *ReductionInstr, Type *InputType, unsigned ScaleFactor,
----------------
SamTebbs33 wrote:
That's correct, thanks for spotting that. It's not used in this PR but is used by the loop vectorizer part of this work, so I'll move it to that PR.
https://github.com/llvm/llvm-project/pull/101010
More information about the llvm-commits
mailing list