Skip to content

Commit c6a4e84

Browse files
authored
AMDGPU: Remove unnecessary reference (#162085)
1 parent 542cba8 commit c6a4e84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/GCNSubtarget.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ unsigned GCNSubtarget::getMaxNumSGPRs(const Function &F) const {
541541

542542
unsigned GCNSubtarget::getBaseMaxNumVGPRs(
543543
const Function &F, std::pair<unsigned, unsigned> NumVGPRBounds) const {
544-
const auto &[Min, Max] = NumVGPRBounds;
544+
const auto [Min, Max] = NumVGPRBounds;
545545

546546
// Check if maximum number of VGPRs was explicitly requested using
547547
// "amdgpu-num-vgpr" attribute.

0 commit comments

Comments
 (0)