[llvm] [RISCV] Lower PARTIAL_REDUCE_[S/U]MLA via zvqdotq (PR #140950)

Philip Reames via llvm-commits llvm-commits at lists.llvm.org
Fri May 23 07:12:09 PDT 2025


================
@@ -8364,6 +8376,27 @@ SDValue RISCVTargetLowering::lowerADJUST_TRAMPOLINE(SDValue Op,
   return Op.getOperand(0);
 }
 
+SDValue RISCVTargetLowering::lowerPARTIAL_REDUCE_MLA(SDValue Op,
----------------
preames wrote:

I briefly looked at doing this via tablegen, but decided to share the code with the reduce pattern matching.  Once I get hat migrated over to the partial_reduce_mla infrastructure, I may revisit the tablegen question.

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


More information about the llvm-commits mailing list