aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/InlineFunction.cpp
diff options
context:
space:
mode:
authorDiana Picus <Diana-Magda.Picus@amd.com>2025-07-18 09:22:37 +0200
committerGitHub <noreply@github.com>2025-07-18 09:22:37 +0200
commit5bac67d9213da8afa0e35199395774ca3c7daa39 (patch)
treee87f474bc77b3ee2616c2eab0a6dd6321f87fc09 /llvm/lib/Transforms/Utils/InlineFunction.cpp
parent90f733ce6eaea6930c31d7aa320e18a5ef00ac75 (diff)
downloadllvm-5bac67d9213da8afa0e35199395774ca3c7daa39.zip
llvm-5bac67d9213da8afa0e35199395774ca3c7daa39.tar.gz
llvm-5bac67d9213da8afa0e35199395774ca3c7daa39.tar.bz2
[AMDGPU] Use SIRegisterInfo to compute used registers. NFCI (#149051)
Simplify the code in AMDGPUResourceUsageAnalysis to rely more on the TargetRegisterInfo for computing the number of used SGPRs and AGPRs. This is a preliminary refactoring split out from #144855. (While we could technically use TRI to compute the used number of VGPRs at this point too, I'm leaving some of the original code in since for VGPRs we're going to introduce some special cases).
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions