From: Kazu Hirata Date: Wed, 17 May 2023 01:42:47 +0000 (-0700) Subject: [ARM] Remove unused declaration RemapAddSubWithFlags X-Git-Tag: upstream/17.0.6~8229 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ae056b56f96e46794d962388a2708349d9c7fd71;p=platform%2Fupstream%2Fllvm.git [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. --- 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;