Skip to content
Commit 728b878d authored by cdevadas's avatar cdevadas
Browse files

[AMDGPU] Set the CostPerUse value for vgpr registers.

Apart from the argument registers, set the CostPerUse
value as per the ratio reg_index/allocation_granularity.
It is a pre-commit for introducing the scratch registers
in the ABI. This change should help in a balanced
register allocation.

Differential Revision: https://reviews.llvm.org/D76417
parent a035726e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment