We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbabf4e commit 4e6721bCopy full SHA for 4e6721b
llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
@@ -2438,8 +2438,8 @@ bool SIInsertWaitcnts::runOnMachineFunction(MachineFunction &MF) {
2438
Limits.BvhcntMax = AMDGPU::getBvhcntBitMask(IV);
2439
Limits.KmcntMax = AMDGPU::getKmcntBitMask(IV);
2440
2441
- unsigned NumVGPRsMax = ST->getAddressableNumVGPRs();
2442
- unsigned NumSGPRsMax = ST->getAddressableNumSGPRs();
+ [[maybe_unused]] unsigned NumVGPRsMax = ST->getAddressableNumVGPRs();
+ [[maybe_unused]] unsigned NumSGPRsMax = ST->getAddressableNumSGPRs();
2443
assert(NumVGPRsMax <= SQ_MAX_PGM_VGPRS);
2444
assert(NumSGPRsMax <= SQ_MAX_PGM_SGPRS);
2445
0 commit comments