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 1a048fa commit b5edcd1Copy full SHA for b5edcd1
llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
@@ -878,12 +878,6 @@ struct AAAMDMaxNumWorkgroups
878
879
SmallVector<unsigned> MaxNumWorkgroups = InfoCache.getMaxNumWorkGroups(*F);
880
881
- // FIXME: What is the interpretation of 0?
882
- for (unsigned &Entry : MaxNumWorkgroups) {
883
- if (Entry == 0)
884
- Entry = std::numeric_limits<uint32_t>::max();
885
- }
886
-
887
X.takeKnownMinimum(MaxNumWorkgroups[0]);
888
Y.takeKnownMinimum(MaxNumWorkgroups[1]);
889
Z.takeKnownMinimum(MaxNumWorkgroups[2]);
0 commit comments