From: Kazu Hirata Date: Sat, 13 Feb 2021 07:44:31 +0000 (-0800) Subject: [AMDGPU] Drop unnecessary const from a return type (NFC) X-Git-Tag: llvmorg-14-init~15177 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96c90a6d14af9dc5383e9854a9c84301a47c308c;p=platform%2Fupstream%2Fllvm.git [AMDGPU] Drop unnecessary const from a return type (NFC) Identified with readability-const-return-type. --- 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.