[all-commits] [llvm/llvm-project] 64fc41: [RISCV] Extend SK_Broadcast costing to scalable ve...

Philip Reames via All-commits all-commits at lists.llvm.org
Mon Mar 13 11:07:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64fc41ad824ce68d8f0099760ad42e44a34951d1
      https://github.com/llvm/llvm-project/commit/64fc41ad824ce68d8f0099760ad42e44a34951d1
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

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

  Log Message:
  -----------
  [RISCV] Extend SK_Broadcast costing to scalable vectors

The existing scalable costing was just bad.  No LMUL cost, no i1 specific costing, etc..  We had updated the fixed cost model, but none of the code is actually fixed length specific.  Moving it down handles the scalable cases too.




More information about the All-commits mailing list