From ae056b56f96e46794d962388a2708349d9c7fd71 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Tue, 16 May 2023 18:42:47 -0700 Subject: [PATCH] [ARM] Remove unused declaration RemapAddSubWithFlags The corresponding function definition was removed by: commit e891654a5855a43104a4f3744a754c5e028c03c7 Author: Evan Cheng Date: Tue Aug 30 01:34:54 2011 +0000 While we are at it, this patch removes ARMPCLabelIndex, for which the host compiler issues an unused variable warning. --- llvm/lib/Target/ARM/ARMISelLowering.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h index f7c108e..49fc5a5 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.h +++ b/llvm/lib/Target/ARM/ARMISelLowering.h @@ -768,9 +768,6 @@ class VectorType; const InstrItineraryData *Itins; - /// ARMPCLabelIndex - Keep track of the number of ARM PC labels created. - unsigned ARMPCLabelIndex; - // TODO: remove this, and have shouldInsertFencesForAtomic do the proper // check. bool InsertFencesForAtomic; @@ -973,8 +970,6 @@ class VectorType; void EmitSjLjDispatchBlock(MachineInstr &MI, MachineBasicBlock *MBB) const; - bool RemapAddSubWithFlags(MachineInstr &MI, MachineBasicBlock *BB) const; - MachineBasicBlock *EmitStructByval(MachineInstr &MI, MachineBasicBlock *MBB) const; -- 2.7.4