mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-01 17:32:36 +00:00
Remove unnecessary register copy now that regalloc is fixed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21085 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
886dd9136f
commit
04ec80173b
@ -286,8 +286,6 @@ void PPC32RegisterInfo::emitEpilogue(MachineFunction &MF,
|
||||
|
||||
if (NumBytes != 0) {
|
||||
if (hasFP(MF)) {
|
||||
MI = BuildMI(PPC::OR, 2, PPC::R1).addReg(PPC::R31).addReg(PPC::R31);
|
||||
MBB.insert(MBBI, MI);
|
||||
MI = BuildMI(PPC::LWZ, 2, PPC::R31).addSImm(GPRSize).addReg(PPC::R31);
|
||||
MBB.insert(MBBI, MI);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user