We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83aab61 commit 890c105Copy full SHA for 890c105
llvm/lib/Target/AMDGPU/GCNRegPressure.cpp
@@ -425,7 +425,7 @@ bool GCNRPTarget::isSaveBeneficial(Register Reg) const {
425
bool GCNRPTarget::satisfied() const {
426
if (RP.getSGPRNum() > MaxSGPRs || RP.getVGPRNum(false) > MaxVGPRs)
427
return false;
428
- if (UnifiedRF && RP.getVGPRNum(true) > MaxVGPRs)
+ if (UnifiedRF && RP.getVGPRNum(true) > MaxUnifiedVGPRs)
429
430
return true;
431
}
0 commit comments