[clang] [llvm] [AMDGPU] Adding the amdgpu-num-work-groups function attribute (PR #79035)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 12 04:29:57 PST 2024
================
@@ -1108,3 +1108,8 @@ void GCNUserSGPRUsageInfo::allocKernargPreloadSGPRs(unsigned NumSGPRs) {
unsigned GCNUserSGPRUsageInfo::getNumFreeUserSGPRs() {
return AMDGPU::getMaxNumUserSGPRs(ST) - NumUsedUserSGPRs;
}
+
+SmallVector<unsigned>
----------------
arsenm wrote:
std::array<3>?
https://github.com/llvm/llvm-project/pull/79035
More information about the llvm-commits
mailing list