[llvm] 90d7817 - [AArch64] Remove emitCalleeSavedFrameMoves
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 21 17:00:56 PST 2022
Author: Kazu Hirata
Date: 2022-11-21T17:00:50-08:00
New Revision: 90d78170f727f716b3f1fa6bd786a342678e5261
URL: https://github.com/llvm/llvm-project/commit/90d78170f727f716b3f1fa6bd786a342678e5261
DIFF: https://github.com/llvm/llvm-project/commit/90d78170f727f716b3f1fa6bd786a342678e5261.diff
LOG: [AArch64] Remove emitCalleeSavedFrameMoves
The last use of emitCalleeSavedFrameMoves was removed on March 24,
2022 in commit 50a97aacacf689f838451439d913421d608e1bed.
Differential Revision: https://reviews.llvm.org/D138388
Added:
Modified:
llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
llvm/lib/Target/AArch64/AArch64FrameLowering.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp b/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
index 0199dab530b2..ba325a5d030a 100644
--- a/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
@@ -576,12 +576,6 @@ void AArch64FrameLowering::emitCalleeSavedSVELocations(
}
}
-void AArch64FrameLowering::emitCalleeSavedFrameMoves(
- MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI) const {
- emitCalleeSavedGPRLocations(MBB, MBBI);
- emitCalleeSavedSVELocations(MBB, MBBI);
-}
-
static void insertCFISameValue(const MCInstrDesc &Desc, MachineFunction &MF,
MachineBasicBlock &MBB,
MachineBasicBlock::iterator InsertPt,
diff --git a/llvm/lib/Target/AArch64/AArch64FrameLowering.h b/llvm/lib/Target/AArch64/AArch64FrameLowering.h
index 2d9c34661de5..e83366519552 100644
--- a/llvm/lib/Target/AArch64/AArch64FrameLowering.h
+++ b/llvm/lib/Target/AArch64/AArch64FrameLowering.h
@@ -24,9 +24,6 @@ class AArch64FrameLowering : public TargetFrameLowering {
: TargetFrameLowering(StackGrowsDown, Align(16), 0, Align(16),
true /*StackRealignable*/) {}
- void emitCalleeSavedFrameMoves(MachineBasicBlock &MBB,
- MachineBasicBlock::iterator MBBI) const;
-
void resetCFIToInitialState(MachineBasicBlock &MBB) const override;
MachineBasicBlock::iterator
More information about the llvm-commits
mailing list