[llvm] 2c46d06 - [AMDGPU][SIMachineFunctionInfo] Code cleanup (NFC).

Christudasan Devadasan via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 8 07:13:45 PDT 2022


Author: Christudasan Devadasan
Date: 2022-04-08T19:42:48+05:30
New Revision: 2c46d067e12cb2def2c2a59360b16cc278ebe9be

URL: https://github.com/llvm/llvm-project/commit/2c46d067e12cb2def2c2a59360b16cc278ebe9be
DIFF: https://github.com/llvm/llvm-project/commit/2c46d067e12cb2def2c2a59360b16cc278ebe9be.diff

LOG: [AMDGPU][SIMachineFunctionInfo] Code cleanup (NFC).

Added: 
    

Modified: 
    llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h b/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
index e0c5d30be37b4..62d9ebe66e93e 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<SGPRSpillVGPR> getSGPRSpillVGPRs() const { return SpillVGPRs; }
 
-  void setSGPRSpillVGPRs(Register NewVGPR, Optional<int> newFI, int Index) {
-    SpillVGPRs[Index].VGPR = NewVGPR;
-    SpillVGPRs[Index].FI = newFI;
-  }
-
-  bool removeVGPRForSGPRSpill(Register ReservedVGPR, MachineFunction &MF);
-
   ArrayRef<MCPhysReg> getAGPRSpillVGPRs() const {
     return SpillAGPR;
   }


        


More information about the llvm-commits mailing list