[all-commits] [llvm/llvm-project] 837ee5: [RISCV][TTI] Scale the cost of FP-Int conversion w...

Shih-Po Hung via All-commits all-commits at lists.llvm.org
Sun Sep 1 18:39:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 837ee5b46a5f7f898f0de7e46a19600b896a0a1f
      https://github.com/llvm/llvm-project/commit/837ee5b46a5f7f898f0de7e46a19600b896a0a1f
  Author: Shih-Po Hung <shihpo.hung at sifive.com>
  Date:   2024-09-02 (Mon, 02 Sep 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/RISCV/cast-half.ll
    M llvm/test/Analysis/CostModel/RISCV/cast.ll

  Log Message:
  -----------
  [RISCV][TTI] Scale the cost of FP-Int conversion with LMUL (#87506)

Widening/narrowing the source data type to match the destination data
type may require multiple steps.
To model the costs, the patch generated the interim type by following
the logic in RISCVTargetLowering::lowerVPFPIntConvOp.



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