mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-25 00:29:20 +00:00
Removed dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181975 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8c0f4fc8be
commit
ec7f4231cb
@ -523,14 +523,10 @@ void PPCFrameLowering::emitPrologue(MachineFunction &MF) const {
|
||||
BuildMI(MBB, MBBI, dl, TII.get(PPC::PROLOG_LABEL)).addSym(FrameLabel);
|
||||
|
||||
// Show update of SP.
|
||||
if (NegFrameSize) {
|
||||
assert(NegFrameSize);
|
||||
MachineLocation SPDst(MachineLocation::VirtualFP);
|
||||
MachineLocation SPSrc(MachineLocation::VirtualFP, NegFrameSize);
|
||||
MMI.addFrameMove(FrameLabel, SPDst, SPSrc);
|
||||
} else {
|
||||
MachineLocation SP(isPPC64 ? PPC::X31 : PPC::R31);
|
||||
MMI.addFrameMove(FrameLabel, SP, SP);
|
||||
}
|
||||
|
||||
if (HasFP) {
|
||||
MachineLocation FPDst(MachineLocation::VirtualFP, FPOffset);
|
||||
|
Loading…
Reference in New Issue
Block a user