AMDGPU: Fix off-by-one in SIRegisterInfo::eliminateFrameIndex
[oota-llvm.git] / lib / Target / AMDGPU / SIInstrInfo.h
index 8d18d29196f7f685dc47b3cf48fa054bc421bb76..307ef67ed26342eb8be26c1875b408d513ebbc4d 100644 (file)
@@ -441,7 +441,7 @@ public:
   void LoadM0(MachineInstr *MoveRel, MachineBasicBlock::iterator I,
               unsigned SavReg, unsigned IndexReg) const;
 
-  void insertNOPs(MachineBasicBlock::iterator MI, int Count) const;
+  void insertWaitStates(MachineBasicBlock::iterator MI, int Count) const;
 
   /// \brief Returns the operand named \p Op.  If \p MI does not have an
   /// operand named \c Op, this function returns nullptr.