aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorChristudasan Devadasan <Christudasan.Devadasan@amd.com>2020-12-23 10:51:13 +0530
committerChristudasan Devadasan <Christudasan.Devadasan@amd.com>2021-01-29 10:14:52 +0530
commit892e4567e1357ee10ef67ee6dfbe45aeded9d2dc (patch)
treefc3c7f78ee990a41fc9cd9eff98d1cd68b9c8f41 /llvm/lib/CodeGen/LiveDebugVariables.cpp
parentb2545b71d121ac913e56faff3b704f3957f941b7 (diff)
downloadllvm-892e4567e1357ee10ef67ee6dfbe45aeded9d2dc.zip
llvm-892e4567e1357ee10ef67ee6dfbe45aeded9d2dc.tar.gz
llvm-892e4567e1357ee10ef67ee6dfbe45aeded9d2dc.tar.bz2
Support a list of CostPerUse values
This patch allows targets to define multiple cost values for each register so that the cost model can be more flexible and better used during the register allocation as per the target requirements. For AMDGPU the VGPR allocation will be more efficient if the register cost can be associated dynamically based on the calling convention. Reviewed By: qcolombet Differential Revision: https://reviews.llvm.org/D86836
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions