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

James Chesterman via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 04:08:44 PST 2025


================
@@ -4435,6 +4448,12 @@ SDValue DAGTypeLegalizer::SplitVecOp_VECTOR_HISTOGRAM(SDNode *N) {
                                 MMO, IndexType);
 }
 
+SDValue DAGTypeLegalizer::SplitVecOp_PARTIAL_REDUCE_MLA(SDNode *N) {
+  SDValue Res = TLI.expandPartialReduceMLA(N, DAG);
+  ReplaceValueWith(SDValue(N, 0), Res);
+  return SDValue();
----------------
JamesChesterman wrote:

Yes, changed it now.

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


More information about the llvm-commits mailing list