From 96c90a6d14af9dc5383e9854a9c84301a47c308c Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Fri, 12 Feb 2021 23:44:31 -0800 Subject: [PATCH] [AMDGPU] Drop unnecessary const from a return type (NFC) Identified with readability-const-return-type. --- llvm/lib/Target/AMDGPU/GCNRegPressure.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/AMDGPU/GCNRegPressure.h b/llvm/lib/Target/AMDGPU/GCNRegPressure.h index ba8c85a..8541c7e 100644 --- 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. -- 2.7.4