[llvm] Add `llvm.vector.partial.reduce.fadd` intrinsic (PR #159776)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 9 09:18:05 PDT 2025


================
@@ -13036,7 +13041,7 @@ SDValue DAGCombiner::foldPartialReduceMLAMulOp(SDNode *N) {
   }
 
   unsigned RHSOpcode = RHS->getOpcode();
-  if (!ISD::isExtOpcode(RHSOpcode))
+  if (!ISD::isExtOpcode(RHSOpcode) && RHSOpcode != ISD::FP_EXTEND)
----------------
sdesmalen-arm wrote:

nit: maybe create a lambda to check the extend opcode.

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


More information about the llvm-commits mailing list