projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64557e0
)
[AMDGPU] Drop unnecessary const from a return type (NFC)
author
Kazu Hirata
<kazu@google.com>
Sat, 13 Feb 2021 07:44:31 +0000
(23:44 -0800)
committer
Kazu Hirata
<kazu@google.com>
Sat, 13 Feb 2021 07:44:32 +0000
(23:44 -0800)
Identified with readability-const-return-type.
llvm/lib/Target/AMDGPU/GCNRegPressure.h
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/AMDGPU/GCNRegPressure.h
b/llvm/lib/Target/AMDGPU/GCNRegPressure.h
index
ba8c85a
..
8541c7e
100644
(file)
--- a/
llvm/lib/Target/AMDGPU/GCNRegPressure.h
+++ b/
llvm/lib/Target/AMDGPU/GCNRegPressure.h
@@
-160,7
+160,7
@@
class GCNDownwardRPTracker : public GCNRPTracker {
public:
GCNDownwardRPTracker(const LiveIntervals &LIS_) : GCNRPTracker(LIS_) {}
-
const
MachineBasicBlock::const_iterator getNext() const { return NextMI; }
+ MachineBasicBlock::const_iterator getNext() const { return NextMI; }
// Reset tracker to the point before the MI
// filling live regs upon this point using LIS.