summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commitc7186025deff868abdf3a0ea9ee215024a81dfef (patch)
tree35077b970006905006fe1545d148077cbcaf86ec /llvm/lib
parent6a6056e93d4e2e73ebf629966acaf2a203a3cea3 (diff)
downloadbcm5719-llvm-c7186025deff868abdf3a0ea9ee215024a81dfef.tar.gz
bcm5719-llvm-c7186025deff868abdf3a0ea9ee215024a81dfef.zip
Remove unnecessary register copy now that regalloc is fixed
llvm-svn: 21085
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPC32RegisterInfo.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Target/PowerPC/PPC32RegisterInfo.cpp b/llvm/lib/Target/PowerPC/PPC32RegisterInfo.cpp
index 3660c2f4766..59abebec362 100644
--- a/llvm/lib/Target/PowerPC/PPC32RegisterInfo.cpp
+++ b/llvm/lib/Target/PowerPC/PPC32RegisterInfo.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);
}
OpenPOWER on IntegriCloud