[llvm] 81b9041 - [AArch64] Remove AArch64TargetLowering::shouldExpandPartialReductionIntrinsic (NFC) (#159546)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 25 01:14:15 PDT 2025
Author: Benjamin Maxwell
Date: 2025-09-25T09:14:11+01:00
New Revision: 81b90418e2db4ce7aa58f45b0fa84d3029789b4f
URL: https://github.com/llvm/llvm-project/commit/81b90418e2db4ce7aa58f45b0fa84d3029789b4f
DIFF: https://github.com/llvm/llvm-project/commit/81b90418e2db4ce7aa58f45b0fa84d3029789b4f.diff
LOG: [AArch64] Remove AArch64TargetLowering::shouldExpandPartialReductionIntrinsic (NFC) (#159546)
The AArch64 implementation now matches the base implementation.
Added:
Modified:
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index 7ffaba77e4b62..50f9da9dd8a50 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -2182,13 +2182,6 @@ bool AArch64TargetLowering::shouldExpandGetActiveLaneMask(EVT ResVT,
return false;
}
-bool AArch64TargetLowering::shouldExpandPartialReductionIntrinsic(
- const IntrinsicInst *I) const {
- assert(I->getIntrinsicID() == Intrinsic::vector_partial_reduce_add &&
- "Unexpected intrinsic!");
- return true;
-}
-
bool AArch64TargetLowering::shouldExpandCttzElements(EVT VT) const {
if (!Subtarget->isSVEorStreamingSVEAvailable())
return true;
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.h b/llvm/lib/Target/AArch64/AArch64ISelLowering.h
index 84fd7657abe72..d8072d15853ee 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.h
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.h
@@ -523,9 +523,6 @@ class AArch64TargetLowering : public TargetLowering {
bool shouldExpandGetActiveLaneMask(EVT VT, EVT OpVT) const override;
- bool
- shouldExpandPartialReductionIntrinsic(const IntrinsicInst *I) const override;
-
bool shouldExpandCttzElements(EVT VT) const override;
bool shouldExpandVectorMatch(EVT VT, unsigned SearchSize) const override;
More information about the llvm-commits
mailing list