From 04ec80173beda1e4309678b7ff32a5d984fa51cb Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Mon, 4 Apr 2005 21:48:13 +0000 Subject: [PATCH] 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 --- lib/Target/PowerPC/PPCRegisterInfo.cpp | 2 -- 1 file changed, 2 deletions(-) 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); } -- 2.34.1