[all-commits] [llvm/llvm-project] 369c61: [RISCV] Fix the cost of `llvm.vector.reduce.and` (...

Shao-Ce SUN via All-commits all-commits at lists.llvm.org
Thu Jan 9 18:11:03 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 369c61744a435c52e3564398d9972fa556db022b
      https://github.com/llvm/llvm-project/commit/369c61744a435c52e3564398d9972fa556db022b
  Author: Shao-Ce SUN <sunshaoce at outlook.com>
  Date:   2025-01-10 (Fri, 10 Jan 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    A llvm/test/Analysis/CostModel/RISCV/reduce-and-i1.ll
    M llvm/test/Analysis/CostModel/RISCV/reduce-and.ll
    M llvm/test/Analysis/CostModel/RISCV/reduce-max.ll
    M llvm/test/Analysis/CostModel/RISCV/reduce-min.ll

  Log Message:
  -----------
  [RISCV] Fix the cost of `llvm.vector.reduce.and` (#119160)

I added some CodeGen test cases related to reduce. To maintain
consistency, I also added cases for instructions like
`vector.reduce.or`.

For cases where `v1i1` type generates `VFIRST`, please refer to:
https://reviews.llvm.org/D139512.



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