[all-commits] [llvm/llvm-project] a21fb7: [RISCV][TTI] Implement getPartialReductionCost for...

Philip Reames via All-commits all-commits at lists.llvm.org
Fri May 23 07:15:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a21fb74c0c03d3f1b46c3df823858398d5a73bef
      https://github.com/llvm/llvm-project/commit/a21fb74c0c03d3f1b46c3df823858398d5a73bef
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2025-05-23 (Fri, 23 May 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
    M llvm/test/Transforms/LoopVectorize/RISCV/partial-reduce-dot-product.ll

  Log Message:
  -----------
  [RISCV][TTI] Implement getPartialReductionCost for the vqdotq cases (#140974)

Doing so tells the loop vectorizer that the partial.reduce intrinsic is
profitable to use over the plain extend/multiply/reduce.add sequence.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list