diff options
author | Shih-Po Hung <shihpo.hung@sifive.com> | 2024-01-04 21:04:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-04 21:04:36 +0800 |
commit | 475890cd2e65d0e9fbd37a912cd359f12f1f7668 (patch) | |
tree | 23edfe57f314018652f213a0eeb716146db339a3 /runtimes | |
parent | f8122518750e3563a79df22d72c26c3c922f63f2 (diff) | |
download | llvm-475890cd2e65d0e9fbd37a912cd359f12f1f7668.zip llvm-475890cd2e65d0e9fbd37a912cd359f12f1f7668.tar.gz llvm-475890cd2e65d0e9fbd37a912cd359f12f1f7668.tar.bz2 |
[RISCV][CostModel] Add getRISCVInstructionCost() to TTI for CostKind (#76793)
Instruction cost for CodeSize and Latency/RecipThroughput can be very
different. Considering the diversity of CostKind and vendor-specific
cost, and how they are spread across various TTI functions, it's
becoming quite a challenge to handle. This patch adds an interface
getRISCVInstructionCost to address it.
Diffstat (limited to 'runtimes')
0 files changed, 0 insertions, 0 deletions