[all-commits] [llvm/llvm-project] 02bfe2: [RISCV] Adjust vector immediate store materializat...

Philip Reames via All-commits all-commits at lists.llvm.org
Thu Sep 29 07:37:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02bfe2de7c3eb2f2318fa97bc30b15ea7505a584
      https://github.com/llvm/llvm-project/commit/02bfe2de7c3eb2f2318fa97bc30b15ea7505a584
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-09-29 (Thu, 29 Sep 2022)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/RISCV/rvv-load-store.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/load-store.ll
    M llvm/test/Transforms/SLPVectorizer/RISCV/rvv-min-vector-size.ll

  Log Message:
  -----------
  [RISCV] Adjust vector immediate store materialization cost

This change updates the costs to make constant pool loads match their actual cost, and adds the broadcast special case to avoid too many regressions. We really need more information about the constants being rematerialized, but this is an incremental improvement.

Differential Revision: https://reviews.llvm.org/D134746




More information about the All-commits mailing list