[llvm] [AArch64][SVE] Add partial reduction SDNodes (PR #117185)
James Chesterman via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 28 04:16:17 PST 2024
================
@@ -1595,10 +1595,10 @@ class SelectionDAG {
/// the target's desired shift amount type.
SDValue getShiftAmountOperand(EVT LHSTy, SDValue Op);
- /// Create the DAG equivalent of vector_partial_reduce where Op1 and Op2 are
- /// its operands and ReducedTY is the intrinsic's return type.
- SDValue getPartialReduceAdd(SDLoc DL, EVT ReducedTy, SDValue Op1,
- SDValue Op2);
+ /// Expands partial reduce node which can't be lowered to wide add or dot
+ /// product instruction(s)
----------------
JamesChesterman wrote:
Removed reference to wide add and dot product lowering. Removed the `ReducedTy` parameter because it can just be obtained from `Op1` inside the function. Documented `Op1` and `Op2` in the comment.
https://github.com/llvm/llvm-project/pull/117185
More information about the llvm-commits
mailing list