[llvm] [AArch64] Lower partial add reduction to udot or svdot (PR #101010)
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 27 10:41:27 PDT 2024
================
@@ -1971,6 +1971,26 @@ bool AArch64TargetLowering::shouldExpandGetActiveLaneMask(EVT ResVT,
return false;
}
+bool AArch64TargetLowering::shouldExpandPartialReductionIntrinsic(
+ const IntrinsicInst *I) const {
----------------
paulwalker-arm wrote:
If the intent is for this function to support other partial reduction then you should be rejecting intrinsics whose ID is not `Intrinsic::experimental_vector_partial_reduce_add`.
https://github.com/llvm/llvm-project/pull/101010
More information about the llvm-commits
mailing list