From: Nate Begeman Date: Mon, 4 Apr 2005 21:48:13 +0000 (+0000) Subject: Remove unnecessary register copy now that regalloc is fixed X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=04ec80173beda1e4309678b7ff32a5d984fa51cb;p=oota-llvm.git 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 --- diff --git a/lib/Target/PowerPC/PPCRegisterInfo.cpp b/lib/Target/PowerPC/PPCRegisterInfo.cpp index 3660c2f4766..59abebec362 100644 --- a/lib/Target/PowerPC/PPCRegisterInfo.cpp +++ b/lib/Target/PowerPC/PPCRegisterInfo.cpp @@ -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); }