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 4dc2135 commit 099161cCopy full SHA for 099161c
llvm/lib/Target/AMDGPU/GCNRegPressure.cpp
@@ -112,7 +112,7 @@ struct RegExcess {
112
SGPR = std::max(static_cast<int>(RP.getSGPRNum() - MaxSGPRs), 0);
113
114
// The number of virtual VGPRs required to handle excess SGPR
115
- auto WaveSize = ST.getWavefrontSize();
+ unsigned WaveSize = ST.getWavefrontSize();
116
unsigned VGPRForSGPRSpills = divideCeil(SGPR, WaveSize);
117
118
unsigned MaxArchVGPRs = ST.getAddressableNumArchVGPRs();
0 commit comments