aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorBenjamin Maxwell <benjamin.maxwell@arm.com>2025-10-01 13:28:37 +0100
committerGitHub <noreply@github.com>2025-10-01 13:28:37 +0100
commit372d3fb10c9dd0ff4e780d68b86220e30fd00b27 (patch)
tree659066494fd38a7c72d6dcbd1f5f6827e1d8fe30 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent3a34710157a14d2ea3375322f259ff4f5cf4dac8 (diff)
downloadllvm-372d3fb10c9dd0ff4e780d68b86220e30fd00b27.zip
llvm-372d3fb10c9dd0ff4e780d68b86220e30fd00b27.tar.gz
llvm-372d3fb10c9dd0ff4e780d68b86220e30fd00b27.tar.bz2
[CodeGen] Remove `shouldExpandPartialReductionIntrinsic()` hook (NFC) (#161498)
This is unused. Targets can lower/expand the `PARTIAL_REDUCE_*` ISD nodes.
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index b5201a3..c21890a 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -8103,10 +8103,6 @@ void SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I,
return;
}
case Intrinsic::vector_partial_reduce_add: {
- if (!TLI.shouldExpandPartialReductionIntrinsic(cast<IntrinsicInst>(&I))) {
- visitTargetIntrinsic(I, Intrinsic);
- return;
- }
SDValue Acc = getValue(I.getOperand(0));
SDValue Input = getValue(I.getOperand(1));
setValue(&I,