[llvm] [AArch64][SelectionDAG] Add type legalization for partial reduce wide adds (PR #141075)
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Fri May 23 07:35:57 PDT 2025
================
@@ -12703,7 +12704,10 @@ SDValue DAGCombiner::foldPartialReduceAdd(SDNode *N) {
SDValue UnextOp1 = Op1.getOperand(0);
EVT UnextOp1VT = UnextOp1.getValueType();
- if (!TLI.isPartialReduceMLALegalOrCustom(N->getValueType(0), UnextOp1VT))
+ auto *Context = DAG.getContext();
+ if (!TLI.isPartialReduceMLALegalOrCustom(
----------------
preames wrote:
Can you explain the motivation behind this change?
https://github.com/llvm/llvm-project/pull/141075
More information about the llvm-commits
mailing list