[all-commits] [llvm/llvm-project] 77b202: [RISCV] Rename getVectorImmCost to getStoreImmCost...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Sep 27 08:22:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77b202f974faa82679d9984aeef58355dc80ba80
      https://github.com/llvm/llvm-project/commit/77b202f974faa82679d9984aeef58355dc80ba80
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-09-27 (Tue, 27 Sep 2022)

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

  Log Message:
  -----------
  [RISCV] Rename getVectorImmCost to getStoreImmCost [nfc]

My original intent had been to reuse this for arithmetic instructions as well, but due to the availability of a immediate splat encoding there, we will need different heuristics.  So specialize the existing code for the store case.




More information about the All-commits mailing list