[llvm] ae056b5 - [ARM] Remove unused declaration RemapAddSubWithFlags

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 18:43:00 PDT 2023


Author: Kazu Hirata
Date: 2023-05-16T18:42:47-07:00
New Revision: ae056b56f96e46794d962388a2708349d9c7fd71

URL: https://github.com/llvm/llvm-project/commit/ae056b56f96e46794d962388a2708349d9c7fd71
DIFF: https://github.com/llvm/llvm-project/commit/ae056b56f96e46794d962388a2708349d9c7fd71.diff

LOG: [ARM] Remove unused declaration RemapAddSubWithFlags

The corresponding function definition was removed by:

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

Added: 
    

Modified: 
    llvm/lib/Target/ARM/ARMISelLowering.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h
index f7c108e16787b..49fc5a50686a1 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;
 


        


More information about the llvm-commits mailing list