From ccbe895aad32c97a5f6bf65d19a4971dc771eb93 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 16 May 2023 18:54:14 -0700 Subject: [PATCH] [ARM] Remove unused {get,set}StoredByValParamsPadding The last uses were removed by: commit 8cda34f5e7e6af23910e62ab3edb430dab07799f Author: Tim Northover Date: Wed Mar 11 18:54:22 2015 +0000 --- llvm/lib/Target/ARM/ARMMachineFunctionInfo.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h b/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h index aba1afe..f7531ce 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 @@ public: 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; } -- 2.7.4