[InstrInfo] Refactor foldOperandImpl to thread through InsertPt. NFC
[oota-llvm.git] / lib / Target / R600 / AMDGPUInstrInfo.h
index 07042b59be7b2517b76cf0fbec9d2d03b10e372e..8fd27a17638bace3427dcb0bc280963512b29fe6 100644 (file)
@@ -87,9 +87,11 @@ public:
 protected:
   MachineInstr *foldMemoryOperandImpl(MachineFunction &MF, MachineInstr *MI,
                                       ArrayRef<unsigned> Ops,
+                                      MachineBasicBlock::iterator InsertPt,
                                       int FrameIndex) const override;
   MachineInstr *foldMemoryOperandImpl(MachineFunction &MF, MachineInstr *MI,
                                       ArrayRef<unsigned> Ops,
+                                      MachineBasicBlock::iterator InsertPt,
                                       MachineInstr *LoadMI) const override;
 
 public: