[PATCH] D76356: [AMDGPU] Introduce more scratch registers in the ABI.
Christudasan Devadasan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 18 08:42:05 PDT 2020
cdevadas marked an inline comment as done.
cdevadas added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIRegisterInfo.td:220-223
+ // set a cost value for vgprs other than the argument registers (v0-v31).
+ // The ratio of index/allocation_granularity is taken as the cost value.
+ // Considered the allocation granularity as 4 here.
+ let CostPerUse=!if(!gt(Index, 31), !srl(Index, 2), 0) in {
----------------
arsenm wrote:
> This part should be split into a separate change
Do you prefer it as a separate commit?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76356/new/
https://reviews.llvm.org/D76356
More information about the llvm-commits
mailing list