[all-commits] [llvm/llvm-project] c3b03f: [AMDGPU] Drop const for value that is copied (NFC).
Florian Hahn via All-commits
all-commits at lists.llvm.org
Mon Mar 30 03:02:05 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c3b03f3d0c3565a556c11841b7cee57418c48c1a
https://github.com/llvm/llvm-project/commit/c3b03f3d0c3565a556c11841b7cee57418c48c1a
Author: Florian Hahn <flo at fhahn.com>
Date: 2020-03-30 (Mon, 30 Mar 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/SIPostRABundler.cpp
Log Message:
-----------
[AMDGPU] Drop const for value that is copied (NFC).
This fixes
warning: loop variable 'Def' of type 'const llvm::Register' creates a copy from type 'const llvm::Register' [-Wrange-loop-analysis]
llvm::Register just contains a single unsigned and should be copied.
Reviewers: rampitec
Reviewed By: rampitec
Differential Revision: https://reviews.llvm.org/D77011
More information about the All-commits
mailing list