[all-commits] [llvm/llvm-project] 4a3565: [RISCV][TTI] Factor out getVSlideCost helper [nfc]

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Aug 22 14:29:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4a35655dac7d1b57f62c0b6d4a3d661b95b7e3a1
      https://github.com/llvm/llvm-project/commit/4a35655dac7d1b57f62c0b6d4a3d661b95b7e3a1
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-08-22 (Tue, 22 Aug 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h

  Log Message:
  -----------
  [RISCV][TTI] Factor out getVSlideCost helper [nfc]

Reasonable implementations may differ in complexity cost, so doing some API prepwork to support tunables.  Note that this patch only covers the cases where we model the slide cost as linear.  A separate patch will propose changing our insert and extract costs from constant-in-lmul to linear-in-lmul.




More information about the All-commits mailing list