Remove unnecessary register copy now that regalloc is fixed
authorNate Begeman <natebegeman@mac.com>
Mon, 4 Apr 2005 21:48:13 +0000 (21:48 +0000)
committerNate Begeman <natebegeman@mac.com>
Mon, 4 Apr 2005 21:48:13 +0000 (21:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21085 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/PowerPC/PPCRegisterInfo.cpp

index 3660c2f476682fb3f20b384dff2fd4ba4446460f..59abebec3625aadc7ed5475478be11ee9dd1b022 100644 (file)
@@ -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);
     }