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 542cba8 commit c6a4e84Copy full SHA for c6a4e84
llvm/lib/Target/AMDGPU/GCNSubtarget.cpp
@@ -541,7 +541,7 @@ unsigned GCNSubtarget::getMaxNumSGPRs(const Function &F) const {
541
542
unsigned GCNSubtarget::getBaseMaxNumVGPRs(
543
const Function &F, std::pair<unsigned, unsigned> NumVGPRBounds) const {
544
- const auto &[Min, Max] = NumVGPRBounds;
+ const auto [Min, Max] = NumVGPRBounds;
545
546
// Check if maximum number of VGPRs was explicitly requested using
547
// "amdgpu-num-vgpr" attribute.
0 commit comments