aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPCRegisterInfo.cpp
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2005-04-04 21:48:13 +0000
committerNate Begeman <natebegeman@mac.com>2005-04-04 21:48:13 +0000
commit04ec80173beda1e4309678b7ff32a5d984fa51cb (patch)
tree3725099b9e26f1c7ed402b0a949fdcf973ccedeb /lib/Target/PowerPC/PPCRegisterInfo.cpp
parent886dd9136f4c5b4523a0958e726955272eb9dfb2 (diff)
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
Diffstat (limited to 'lib/Target/PowerPC/PPCRegisterInfo.cpp')
-rw-r--r--lib/Target/PowerPC/PPCRegisterInfo.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/PowerPC/PPCRegisterInfo.cpp b/lib/Target/PowerPC/PPCRegisterInfo.cpp
index 3660c2f476..59abebec36 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);
}