[llvm-branch-commits] [llvm] AMDGPU: Replace amdgpu-no-agpr with amdgpu-agpr-alloc (PR #129893)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Mar 5 18:09:47 PST 2025
================
@@ -603,11 +601,7 @@ SIRegisterInfo::getMaxNumVectorRegs(const MachineFunction &MF) const {
if (MinNumAGPRs == DefaultNumAGPR.first) {
// Default to splitting half the registers if AGPRs are required.
-
- if (MFI->mayNeedAGPRs())
- MinNumAGPRs = MaxNumAGPRs = MaxVectorRegs / 2;
- else
- MinNumAGPRs = 0;
----------------
arsenm wrote:
mayNeedAGPRs is a wrapper around the attribute now, this is just redundant now
https://github.com/llvm/llvm-project/pull/129893
More information about the llvm-branch-commits
mailing list