[all-commits] [llvm/llvm-project] 3cb024: [RISCV][CostModel] Estimate cost of llvm.vector.re...

Shih-Po Hung via All-commits all-commits at lists.llvm.org
Mon Mar 25 02:17:58 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3cb024198f6a028089779c0a3cb4d8e753e87c73
      https://github.com/llvm/llvm-project/commit/3cb024198f6a028089779c0a3cb4d8e753e87c73
  Author: Shih-Po Hung <shihpo.hung at sifive.com>
  Date:   2024-03-25 (Mon, 25 Mar 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/RISCV/reduce-fmaximum.ll
    M llvm/test/Analysis/CostModel/RISCV/reduce-fminimum.ll

  Log Message:
  -----------
  [RISCV][CostModel] Estimate cost of llvm.vector.reduce.fmaximum/fminimum (#80697)

The ‘llvm.vector.reduce.fmaximum/fminimum.*’ intrinsics propagate NaNs
if any element of the vector is a NaN.
Following #79402, the patch adds the cost for NaN check (vmfne + vcpop)



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