[all-commits] [llvm/llvm-project] 90a9d0: AMDGPU: Add amdgpu-num-agpr attribute to control A...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Thu Feb 20 09:21:15 PST 2025
Branch: refs/heads/users/arsenm/amdgpu/add-amdgpu-num-agpr-attribute
Home: https://github.com/llvm/llvm-project
Commit: 90a9d04b4f3c09a84f06c3c9ac4461df05c5fa84
https://github.com/llvm/llvm-project/commit/90a9d04b4f3c09a84f06c3c9ac4461df05c5fa84
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-02-21 (Fri, 21 Feb 2025)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
M llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
A llvm/test/CodeGen/AMDGPU/amdgpu-num-agpr.ll
Log Message:
-----------
AMDGPU: Add amdgpu-num-agpr attribute to control AGPR allocation
This provides a range to decide how to subdivide the vector register
budget on gfx90a+. A single value declares the minimum AGPRs that
should be allocatable. Eventually this should replace amdgpu-no-agpr.
I want this primarily for testing agpr allocation behavior. We should
have a heuristic try to detect a reasonable number of AGPRs to keep
allocatable.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list