Skip to content

Commit

Permalink
[ARM] Remove unused declaration RemapAddSubWithFlags
Browse files Browse the repository at this point in the history
The corresponding function definition was removed by:

  commit e891654
  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.
  • Loading branch information
kazutakahirata committed May 17, 2023
1 parent e3227e7 commit ae056b5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions llvm/lib/Target/ARM/ARMISelLowering.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit ae056b5

Please sign in to comment.