[llvm] [RISCV] Fold add_vl into accumulator operand of vqdot* (PR #139484)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon May 12 13:01:18 PDT 2025


================
@@ -18459,9 +18459,74 @@ static SDValue combineToVWMACC(SDNode *N, SelectionDAG &DAG,
   return DAG.getNode(Opc, DL, VT, Ops);
 }
 
-static bool legalizeScatterGatherIndexType(SDLoc DL, SDValue &Index,
-                                           ISD::MemIndexType &IndexType,
-                                           RISCVTargetLowering::DAGCombinerInfo &DCI) {
+static SDValue combineVqdotAccum(SDNode *N, SelectionDAG &DAG,
+                                 const RISCVSubtarget &Subtarget) {
+
----------------
topperc wrote:

Drop blank line

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


More information about the llvm-commits mailing list