[llvm] cee3419 - [AMDGPU] Remove unused declaration findNumUsedRegistersSI (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 27 21:24:11 PDT 2021


Author: Kazu Hirata
Date: 2021-10-27T21:24:02-07:00
New Revision: cee3419d651abdf709aff0be398fb0ac9b761723

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

LOG: [AMDGPU] Remove unused declaration findNumUsedRegistersSI (NFC)

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h b/llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
index cd34514b043f3..d5c60aa3be7d6 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
@@ -54,9 +54,6 @@ class AMDGPUAsmPrinter final : public AsmPrinter {
   void getSIProgramInfo(SIProgramInfo &Out, const MachineFunction &MF);
   void getAmdKernelCode(amd_kernel_code_t &Out, const SIProgramInfo &KernelInfo,
                         const MachineFunction &MF) const;
-  void findNumUsedRegistersSI(const MachineFunction &MF,
-                              unsigned &NumSGPR,
-                              unsigned &NumVGPR) const;
 
   /// Emit register usage information so that the GPU driver
   /// can correctly setup the GPU state.


        


More information about the llvm-commits mailing list