[llvm] [X86][CodeGen] Support partial-reduce dot products (PR #205373)

Zihao Wang via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 05:51:12 PDT 2026


================
@@ -147,19 +147,17 @@ class X86TTIImpl final : public BasicTTIImplBase<X86TTIImpl> {
   getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA,
                         TTI::TargetCostKind CostKind) const override;
 
-  InstructionCost
-  getArithmeticReductionCost(unsigned Opcode, VectorType *Ty,
-                             std::optional<FastMathFlags> FMF,
-                             TTI::TargetCostKind CostKind) const override;
-
   InstructionCost getPartialReductionCost(
       unsigned Opcode, Type *InputTypeA, Type *InputTypeB, Type *AccumType,
       ElementCount VF, TTI::PartialReductionExtendKind OpAExtend,
       TTI::PartialReductionExtendKind OpBExtend, std::optional<unsigned> BinOp,
       TTI::TargetCostKind CostKind,
-      std::optional<FastMathFlags> FMF) const override {
----------------
hhy3 wrote:

fixed

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


More information about the llvm-commits mailing list