mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-03 11:24:18 +00:00
Don't use ISD namespace opcodes for MachineInstrs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52932 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -444,7 +444,7 @@ void SPURegisterInfo::emitPrologue(MachineFunction &MF) const
|
|||||||
if (hasDebugInfo) {
|
if (hasDebugInfo) {
|
||||||
// Mark effective beginning of when frame pointer becomes valid.
|
// Mark effective beginning of when frame pointer becomes valid.
|
||||||
FrameLabelId = MMI->NextLabelID();
|
FrameLabelId = MMI->NextLabelID();
|
||||||
BuildMI(MBB, MBBI, TII.get(ISD::LABEL)).addImm(FrameLabelId).addImm(0);
|
BuildMI(MBB, MBBI, TII.get(SPU::LABEL)).addImm(FrameLabelId).addImm(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Adjust stack pointer, spilling $lr -> 16($sp) and $sp -> -FrameSize($sp)
|
// Adjust stack pointer, spilling $lr -> 16($sp) and $sp -> -FrameSize($sp)
|
||||||
@ -504,7 +504,7 @@ void SPURegisterInfo::emitPrologue(MachineFunction &MF) const
|
|||||||
|
|
||||||
// Mark effective beginning of when frame pointer is ready.
|
// Mark effective beginning of when frame pointer is ready.
|
||||||
unsigned ReadyLabelId = MMI->NextLabelID();
|
unsigned ReadyLabelId = MMI->NextLabelID();
|
||||||
BuildMI(MBB, MBBI, TII.get(ISD::LABEL)).addImm(ReadyLabelId).addImm(0);
|
BuildMI(MBB, MBBI, TII.get(SPU::LABEL)).addImm(ReadyLabelId).addImm(0);
|
||||||
|
|
||||||
MachineLocation FPDst(SPU::R1);
|
MachineLocation FPDst(SPU::R1);
|
||||||
MachineLocation FPSrc(MachineLocation::VirtualFP);
|
MachineLocation FPSrc(MachineLocation::VirtualFP);
|
||||||
|
Reference in New Issue
Block a user