[all-commits] [llvm/llvm-project] 097b68: [RISCV][TTI] Refine the cost of FCmp (#88833)

Shih-Po Hung via All-commits all-commits at lists.llvm.org
Wed Apr 17 18:44:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 097b68ff067565af744b5b0327732d7c199710ab
      https://github.com/llvm/llvm-project/commit/097b68ff067565af744b5b0327732d7c199710ab
  Author: Shih-Po Hung <shihpo.hung at sifive.com>
  Date:   2024-04-18 (Thu, 18 Apr 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/RISCV/rvv-cmp.ll
    M llvm/test/Analysis/CostModel/RISCV/rvv-select.ll

  Log Message:
  -----------
  [RISCV][TTI] Refine the cost of FCmp (#88833)

This patch introduces following changes
- Support all fp predicates
- Use the Val type to estimate the latency/throughput cost
- Assign a cost of 1 for mask operations as LMULCost for mask types
cannot be correctly estimated.



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