Skip to content

Commit 099161c

Browse files
committed
auto -> unsigned
1 parent 4dc2135 commit 099161c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/GCNRegPressure.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ struct RegExcess {
112112
SGPR = std::max(static_cast<int>(RP.getSGPRNum() - MaxSGPRs), 0);
113113

114114
// The number of virtual VGPRs required to handle excess SGPR
115-
auto WaveSize = ST.getWavefrontSize();
115+
unsigned WaveSize = ST.getWavefrontSize();
116116
unsigned VGPRForSGPRSpills = divideCeil(SGPR, WaveSize);
117117

118118
unsigned MaxArchVGPRs = ST.getAddressableNumArchVGPRs();

0 commit comments

Comments
 (0)