[all-commits] [llvm/llvm-project] fb661e: [CostModel][RISCV] Model code size cost for reduction

Shih-Po Hung via All-commits all-commits at lists.llvm.org
Sun Mar 5 17:59:30 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb661e2554394a5cdb27a84a2746b4bd4596cb1f
      https://github.com/llvm/llvm-project/commit/fb661e2554394a5cdb27a84a2746b4bd4596cb1f
  Author: ShihPo Hung <shihpo.hung at sifive.com>
  Date:   2023-03-05 (Sun, 05 Mar 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
    M llvm/test/Analysis/CostModel/RISCV/reduce-add.ll
    M llvm/test/Analysis/CostModel/RISCV/reduce-and.ll
    M llvm/test/Analysis/CostModel/RISCV/reduce-fadd.ll
    M llvm/test/Analysis/CostModel/RISCV/reduce-max.ll
    M llvm/test/Analysis/CostModel/RISCV/reduce-min.ll
    M llvm/test/Analysis/CostModel/RISCV/reduce-or.ll
    M llvm/test/Analysis/CostModel/RISCV/reduce-scalable-fp.ll
    M llvm/test/Analysis/CostModel/RISCV/reduce-scalable-int.ll
    M llvm/test/Analysis/CostModel/RISCV/reduce-xor.ll

  Log Message:
  -----------
  [CostModel][RISCV] Model code size cost for reduction

Since code-size cost doesn't scale linearly with LMUL,
this change is to separate it from throughput.

Reviewed By: reames

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




More information about the All-commits mailing list