[llvm] [DAGCombiner] Add generic DAG combine for ISD::PARTIAL_REDUCE_MLA (PR #127083)
James Chesterman via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 20 03:43:57 PST 2025
================
@@ -12497,6 +12501,50 @@ SDValue DAGCombiner::visitMHISTOGRAM(SDNode *N) {
return SDValue();
}
+SDValue DAGCombiner::visitPARTIAL_REDUCE_MLA(SDNode *N) {
+ // Makes PARTIAL_REDUCE_MLA(Acc, MUL(EXT(MulOpLHS), EXT(MulOpRHS)), Splat(1))
+ // into PARTIAL_REDUCE_MLA(Acc, MulOpLHS, MulOpRHS)
----------------
JamesChesterman wrote:
Done
https://github.com/llvm/llvm-project/pull/127083
More information about the llvm-commits
mailing list