[llvm] [SelectionDAG] Add PARTIAL_REDUCE_U/SMLA ISD Nodes (PR #125207)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 6 08:46:36 PST 2025


================
@@ -7883,6 +7854,30 @@ SDValue SelectionDAG::getNode(unsigned Opcode, const SDLoc &DL, EVT VT,
 
     break;
   }
+  case ISD::PARTIAL_REDUCE_UMLA:
+  case ISD::PARTIAL_REDUCE_SMLA: {
+    EVT AccVT = N1.getValueType();
+    EVT Input1VT = N2.getValueType();
+    EVT Input2VT = N3.getValueType();
----------------
paulwalker-arm wrote:

These should be prefixed with `[[maybe_unused]]` so that Release builds don't emit "unused variable" warnings.

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


More information about the llvm-commits mailing list