[all-commits] [llvm/llvm-project] 8865ed: [RISCV][TTI] Cost SK_Tranpose as a generic two ele...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Apr 4 12:53:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8865ed4dbb4e050ba3e7f45996d5c6a9d1e85280
      https://github.com/llvm/llvm-project/commit/8865ed4dbb4e050ba3e7f45996d5c6a9d1e85280
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

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

  Log Message:
  -----------
  [RISCV][TTI] Cost SK_Tranpose as a generic two element shuffle

This matches the actual lowering.  The previous costing was "as if" it had been fully scalarized.


  Commit: dcaed92af7e258e9de1f239cddfb8c2b311d85b2
      https://github.com/llvm/llvm-project/commit/dcaed92af7e258e9de1f239cddfb8c2b311d85b2
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    A llvm/test/Analysis/CostModel/RISCV/shuffle-extract_subvector.ll
    A llvm/test/Analysis/CostModel/RISCV/shuffle-insert_subvector.ll
    A llvm/test/CodeGen/RISCV/rvv/fixed-vector-shuffle-extract-subvector.ll

  Log Message:
  -----------
  [RISCV] Add tests for extract/insert subvector costs and extract lowering


Compare: https://github.com/llvm/llvm-project/compare/1a7cf7a182d6...dcaed92af7e2


More information about the All-commits mailing list