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 66e707e commit 73c6807Copy full SHA for 73c6807
llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
@@ -42,7 +42,7 @@ SIMachineFunctionInfo::SIMachineFunctionInfo(const Function &F,
42
PrivateSegmentWaveByteOffset(false), WorkItemIDX(false),
43
WorkItemIDY(false), WorkItemIDZ(false), ImplicitArgPtr(false),
44
GITPtrHigh(0xffffffff), HighBitsOf32BitAddress(0) {
45
- const GCNSubtarget &ST = *static_cast<const GCNSubtarget *>(STI);
+ const GCNSubtarget &ST = *STI;
46
FlatWorkGroupSizes = ST.getFlatWorkGroupSizes(F);
47
WavesPerEU = ST.getWavesPerEU(F);
48
MaxNumWorkGroups = ST.getMaxNumWorkGroups(F);
0 commit comments