aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authormadhur13490 <Madhur.Amilkanthwar@amd.com>2021-06-03 22:34:10 +0530
committermadhur13490 <Madhur.Amilkanthwar@amd.com>2021-06-12 11:59:34 +0530
commitc27e8141b3d1265d2ab1cb951c4330b961fab9ee (patch)
treecfe2261b2c9a50f9e7a4af355b4ce61983fad6d8 /llvm/lib/Support/Timer.cpp
parent0a0800c4d10c250ffb152b5f059d6f9a19ed8efe (diff)
downloadllvm-c27e8141b3d1265d2ab1cb951c4330b961fab9ee.zip
llvm-c27e8141b3d1265d2ab1cb951c4330b961fab9ee.tar.gz
llvm-c27e8141b3d1265d2ab1cb951c4330b961fab9ee.tar.bz2
[AMDGPU][IndirectCalls] Fix register usage propagation for indirect/external calls
This patch computes max SGPRs and VGPRs used by module in presence of indirect calls and makes that as register requirement for functions/kernels which makes indirect calls. This patch also refactors code AMDGPUSubTarget.cpp which add a "base" variants of getMaxNumSGPRs which is used by MachineFunction and new Function version. Reviewed By: arsenm Differential Revision: https://reviews.llvm.org/D103636
Diffstat (limited to 'llvm/lib/Support/Timer.cpp')
0 files changed, 0 insertions, 0 deletions