[all-commits] [llvm/llvm-project] a00754: [LV] Fix the cost of min/max reductions. (#98453)

Mel Chen via All-commits all-commits at lists.llvm.org
Thu Jul 11 22:47:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a00754bb2a98ff0ba45fb0c34e55d1c14e24f9af
      https://github.com/llvm/llvm-project/commit/a00754bb2a98ff0ba45fb0c34e55d1c14e24f9af
  Author: Mel Chen <mel.chen at sifive.com>
  Date:   2024-07-12 (Fri, 12 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/RISCV/inloop-reduction.ll

  Log Message:
  -----------
  [LV] Fix the cost of min/max reductions. (#98453)

This patch updates the function `getReductionPatternCost` to handle the
cost of min/max reductions by `TTI.getMinMaxReductionCost`.



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