[llvm] Add LoopVectorizer support for `llvm.vector.partial.reduce.fadd` (PR #163975)

Sander de Smalen via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 11 07:34:34 PST 2025


================
@@ -2796,7 +2826,8 @@ InstructionCost VPExpressionRecipe::computeCost(ElementCount VF,
                      RedTy, VF,
                      TargetTransformInfo::getPartialReductionExtendKind(
                          ExtR->getOpcode()),
-                     TargetTransformInfo::PR_None, std::nullopt, Ctx.CostKind)
+                     TargetTransformInfo::PR_None, std::nullopt, Ctx.CostKind,
+                     std::nullopt)
----------------
sdesmalen-arm wrote:

Shouldn't this take FastMathFlags?

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


More information about the llvm-commits mailing list