[AMDGPU] Drop unnecessary const from a return type (NFC)

Identified with readability-const-return-type.
This commit is contained in:
Kazu Hirata 2021-02-12 23:44:31 -08:00
parent 64557e096d
commit 96c90a6d14
1 changed files with 1 additions and 1 deletions

View File

@ -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.