Skip to content

Commit

Permalink
[RISCV] Remove unused private field 'RVPushable' in RISCVMachineFunct…
Browse files Browse the repository at this point in the history
…ionInfo.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.
  • Loading branch information
DamonFool committed Jul 7, 2023
1 parent 7319d7d commit 5919302
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {}
Expand Down

0 comments on commit 5919302

Please sign in to comment.