[llvm] [SelectionDAG][AArch64] Add dot product lowering in NEON for PARTIAL_REDUCE_*MLA ISD nodes (PR #140075)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Tue May 27 06:16:47 PDT 2025


================
@@ -27569,6 +27576,12 @@ void AArch64TargetLowering::ReplaceNodeResults(
     if (SDValue Res = LowerVECTOR_COMPRESS(SDValue(N, 0), DAG))
       Results.push_back(Res);
     return;
+  case ISD::PARTIAL_REDUCE_UMLA:
+  case ISD::PARTIAL_REDUCE_SMLA: {
+    if (SDValue Res = LowerPARTIAL_REDUCE_MLA(SDValue(N, 0), DAG))
+      Results.push_back(Res);
+    return;
+  }
----------------
sdesmalen-arm wrote:

Sorry just noticed this, but Is this code actually used? (normally this is only needed when the result type is not legal, but the input is).

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


More information about the llvm-commits mailing list