[llvm] [AArch64] Lower partial add reduction to udot or svdot (PR #101010)
Sam Tebbs via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 03:05:01 PDT 2024
================
@@ -1971,6 +1971,48 @@ bool AArch64TargetLowering::shouldExpandGetActiveLaneMask(EVT ResVT,
return false;
}
+bool AArch64TargetLowering::shouldExpandPartialReductionIntrinsic(
+ const CallInst *CI) const {
+
+ auto *I = dyn_cast<IntrinsicInst>(CI);
+ assert(I && "shouldExpandPartialReductionIntrinsic expects an intrinisc");
----------------
SamTebbs33 wrote:
Yeah that sounds good to me. Done.
https://github.com/llvm/llvm-project/pull/101010
More information about the llvm-commits
mailing list