[llvm] ccbe895 - [ARM] Remove unused {get, set}StoredByValParamsPadding

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 18:54:20 PDT 2023


Author: Kazu Hirata
Date: 2023-05-16T18:54:14-07:00
New Revision: ccbe895aad32c97a5f6bf65d19a4971dc771eb93

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

LOG: [ARM] Remove unused {get,set}StoredByValParamsPadding

The last uses were removed by:

  commit 8cda34f5e7e6af23910e62ab3edb430dab07799f
  Author: Tim Northover <tnorthover at apple.com>
  Date:   Wed Mar 11 18:54:22 2015 +0000

Added: 
    

Modified: 
    llvm/lib/Target/ARM/ARMMachineFunctionInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h b/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h
index aba1afec3d48..f7531ce78cca 100644
--- a/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h
+++ b/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h
@@ -38,13 +38,6 @@ class ARMFunctionInfo : public MachineFunctionInfo {
   /// 'isThumb'.
   bool hasThumb2 = false;
 
-  /// StByValParamsPadding - For parameter that is split between
-  /// GPRs and memory; while recovering GPRs part, when
-  /// StackAlignment > 4, and GPRs-part-size mod StackAlignment != 0,
-  /// we need to insert gap before parameter start address. It allows to
-  /// "attach" GPR-part to the part that was passed via stack.
-  unsigned StByValParamsPadding = 0;
-
   /// ArgsRegSaveSize - Size of the register save area for vararg functions or
   /// those making guaranteed tail calls that need more stack argument space
   /// than is provided by this functions incoming parameters.
@@ -173,9 +166,6 @@ class ARMFunctionInfo : public MachineFunctionInfo {
   bool isCmseNSEntryFunction() const { return IsCmseNSEntry; }
   bool isCmseNSCallFunction() const { return IsCmseNSCall; }
 
-  unsigned getStoredByValParamsPadding() const { return StByValParamsPadding; }
-  void setStoredByValParamsPadding(unsigned p) { StByValParamsPadding = p; }
-
   unsigned getArgRegsSaveSize() const { return ArgRegsSaveSize; }
   void setArgRegsSaveSize(unsigned s) { ArgRegsSaveSize = s; }
 


        


More information about the llvm-commits mailing list