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

James Chesterman via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 7 09:10:27 PST 2025


================
@@ -2881,6 +2890,13 @@ SDValue DAGTypeLegalizer::PromoteIntOp_VECTOR_FIND_LAST_ACTIVE(SDNode *N,
   return SDValue(DAG.UpdateNodeOperands(N, NewOps), 0);
 }
 
+SDValue DAGTypeLegalizer::PromoteIntOp_PARTIAL_REDUCE_MLA(SDNode *N) {
+  SmallVector<SDValue, 1> NewOps(N->ops());
+  NewOps[1] = GetPromotedInteger(N->getOperand(1));
+  NewOps[2] = GetPromotedInteger(N->getOperand(2));
----------------
JamesChesterman wrote:

Done

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


More information about the llvm-commits mailing list