Hoist getTotalNumVGPRs into AMDGPUBaseInfo for use in both codegen and MC
authorJacob Lambert <jacob.lambert@amd.com>
Wed, 16 Feb 2022 03:07:20 +0000 (19:07 -0800)
committerJacob Lambert <jacob.lambert@amd.com>
Wed, 16 Feb 2022 19:04:08 +0000 (11:04 -0800)
commit0bad7cb56526f2572c74449fcf97c1fcda42b41d
treeb38601cbad0c4c99dab6f354b1582ee997212efb
parent325f0ec7c62ec90d190c65bd4c1738e79f2b8c91
Hoist getTotalNumVGPRs into AMDGPUBaseInfo for use in both codegen and MC

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D119912
llvm/lib/Target/AMDGPU/AMDGPUResourceUsageAnalysis.cpp
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h