Since code-size cost doesn't scale linearly with LMUL,
this change is to separate it from throughput.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D142068
[CostModel][RISCV] Model code size cost for reduction ClosedPublic Authored by arcbbb on Jan 18 2023, 6:07 PM.
Details Summary Since code-size cost doesn't scale linearly with LMUL,
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 24 2023, 7:44 AM This revision was landed with ongoing or failed builds.Mar 5 2023, 5:59 PM Closed by commit rGfb661e255439: [CostModel][RISCV] Model code size cost for reduction (authored by arcbbb). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 502496 llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp
llvm/test/Analysis/CostModel/RISCV/reduce-add.ll
llvm/test/Analysis/CostModel/RISCV/reduce-and.ll
llvm/test/Analysis/CostModel/RISCV/reduce-fadd.ll
llvm/test/Analysis/CostModel/RISCV/reduce-max.ll
llvm/test/Analysis/CostModel/RISCV/reduce-min.ll
llvm/test/Analysis/CostModel/RISCV/reduce-or.ll
llvm/test/Analysis/CostModel/RISCV/reduce-scalable-fp.ll
llvm/test/Analysis/CostModel/RISCV/reduce-scalable-int.ll
llvm/test/Analysis/CostModel/RISCV/reduce-xor.ll
|
This should still be LT.first - 1