[ARM] Remove unused declaration RemapAddSubWithFlags
authorKazu Hirata <kazu@google.com>
Wed, 17 May 2023 01:42:47 +0000 (18:42 -0700)
committerKazu Hirata <kazu@google.com>
Wed, 17 May 2023 01:42:47 +0000 (18:42 -0700)
The corresponding function definition was removed by:

  commit e891654a5855a43104a4f3744a754c5e028c03c7
  Author: Evan Cheng <evan.cheng@apple.com>
  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

index f7c108e..49fc5a5 100644 (file)
@@ -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;