Skip to content

Commit 81b9041

Browse files
authored
[AArch64] Remove AArch64TargetLowering::shouldExpandPartialReductionIntrinsic (NFC) (#159546)
The AArch64 implementation now matches the base implementation.
1 parent 020b928 commit 81b9041

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2182,13 +2182,6 @@ bool AArch64TargetLowering::shouldExpandGetActiveLaneMask(EVT ResVT,
21822182
return false;
21832183
}
21842184

2185-
bool AArch64TargetLowering::shouldExpandPartialReductionIntrinsic(
2186-
const IntrinsicInst *I) const {
2187-
assert(I->getIntrinsicID() == Intrinsic::vector_partial_reduce_add &&
2188-
"Unexpected intrinsic!");
2189-
return true;
2190-
}
2191-
21922185
bool AArch64TargetLowering::shouldExpandCttzElements(EVT VT) const {
21932186
if (!Subtarget->isSVEorStreamingSVEAvailable())
21942187
return true;

llvm/lib/Target/AArch64/AArch64ISelLowering.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,9 +523,6 @@ class AArch64TargetLowering : public TargetLowering {
523523

524524
bool shouldExpandGetActiveLaneMask(EVT VT, EVT OpVT) const override;
525525

526-
bool
527-
shouldExpandPartialReductionIntrinsic(const IntrinsicInst *I) const override;
528-
529526
bool shouldExpandCttzElements(EVT VT) const override;
530527

531528
bool shouldExpandVectorMatch(EVT VT, unsigned SearchSize) const override;

0 commit comments

Comments
 (0)