[llvm] Add LoopVectorizer support for `llvm.vector.partial.reduce.fadd` (PR #163975)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 11 07:41:49 PST 2025
================
@@ -372,7 +372,7 @@ InstructionCost WebAssemblyTTIImpl::getPartialReductionCost(
unsigned Opcode, Type *InputTypeA, Type *InputTypeB, Type *AccumType,
ElementCount VF, TTI::PartialReductionExtendKind OpAExtend,
TTI::PartialReductionExtendKind OpBExtend, std::optional<unsigned> BinOp,
- TTI::TargetCostKind CostKind) const {
+ TTI::TargetCostKind CostKind, std::optional<FastMathFlags> FMF) const {
----------------
MacDue wrote:
Is this missing a check for `if (Opcode == Instruction::FAdd)`?
https://github.com/llvm/llvm-project/pull/163975
More information about the llvm-commits
mailing list