diff --git a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h index e0c5d30be37b40..62d9ebe66e93ea 100644 --- a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h +++ b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h @@ -526,13 +526,6 @@ class SIMachineFunctionInfo final : public AMDGPUMachineFunction { ArrayRef getSGPRSpillVGPRs() const { return SpillVGPRs; } - void setSGPRSpillVGPRs(Register NewVGPR, Optional newFI, int Index) { - SpillVGPRs[Index].VGPR = NewVGPR; - SpillVGPRs[Index].FI = newFI; - } - - bool removeVGPRForSGPRSpill(Register ReservedVGPR, MachineFunction &MF); - ArrayRef getAGPRSpillVGPRs() const { return SpillAGPR; }