[llvm] [AArch64] Lower partial add reduction to udot or svdot (PR #101010)

Sam Tebbs via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 03:41:01 PDT 2024


================
@@ -1590,6 +1590,11 @@ class SelectionDAG {
   /// the target's desired shift amount type.
   SDValue getShiftAmountOperand(EVT LHSTy, SDValue Op);
 
+  /// Expand a partial reduction intrinsic call.
+  /// Op1 and Op2 are its operands and ReducedTY is the intrinsic's return type.
+  SDValue expandPartialReductionIntrinsic(EVT ReducedTy, SDValue Op1,
----------------
SamTebbs33 wrote:

`getPartialReduceAdd()` definitely fits the naming scheme of the rest of the functions in this file. Sounds good to me.

https://github.com/llvm/llvm-project/pull/101010


More information about the llvm-commits mailing list