[llvm] AMDGPU: Remove unnecessary reference (PR #162085)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 6 06:43:28 PDT 2025
================
@@ -541,7 +541,7 @@ unsigned GCNSubtarget::getMaxNumSGPRs(const Function &F) const {
unsigned GCNSubtarget::getBaseMaxNumVGPRs(
const Function &F, std::pair<unsigned, unsigned> NumVGPRBounds) const {
- const auto &[Min, Max] = NumVGPRBounds;
+ const auto [Min, Max] = NumVGPRBounds;
----------------
jayfoad wrote:
Also remove const, if they are no longer references?
https://github.com/llvm/llvm-project/pull/162085
More information about the llvm-commits
mailing list