[llvm] 5919302 - [RISCV] Remove unused private field 'RVPushable' in RISCVMachineFunctionInfo.h
Jie Fu via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 6 20:36:40 PDT 2023
Author: Jie Fu
Date: 2023-07-07T11:35:48+08:00
New Revision: 5919302255c3b662ccc6380f08ff4d38abd08d03
URL: https://github.com/llvm/llvm-project/commit/5919302255c3b662ccc6380f08ff4d38abd08d03
DIFF: https://github.com/llvm/llvm-project/commit/5919302255c3b662ccc6380f08ff4d38abd08d03.diff
LOG: [RISCV] Remove unused private field 'RVPushable' in RISCVMachineFunctionInfo.h
/data/llvm-project/llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h:78:8: error: private field 'RVPushable' is not used [-Werror,-Wunused-private-field
]
bool RVPushable = false;
^
1 error generated.
Added:
Modified:
llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h b/llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
index d769fcb7f9c595..5dfd47a687e922 100644
--- a/llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
+++ b/llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
@@ -75,7 +75,6 @@ class RISCVMachineFunctionInfo : public MachineFunctionInfo {
unsigned RVPushStackSize = 0;
unsigned RVPushRegs = 0;
int RVPushRlist = llvm::RISCVZC::RLISTENCODE::INVALID_RLIST;
- bool RVPushable = false;
public:
RISCVMachineFunctionInfo(const Function &F, const TargetSubtargetInfo *STI) {}
More information about the llvm-commits
mailing list