projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
886dd91
)
Remove unnecessary register copy now that regalloc is fixed
author
Nate Begeman
<natebegeman@mac.com>
Mon, 4 Apr 2005 21:48:13 +0000
(21:48 +0000)
committer
Nate 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
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCRegisterInfo.cpp
b/lib/Target/PowerPC/PPCRegisterInfo.cpp
index 3660c2f476682fb3f20b384dff2fd4ba4446460f..59abebec3625aadc7ed5475478be11ee9dd1b022 100644
(file)
--- 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);
}