[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32RegisterInfo.cpp

Nate Begeman natebegeman at mac.com
Mon Apr 4 14:48:24 PDT 2005



Changes in directory llvm/lib/Target/PowerPC:

PPC32RegisterInfo.cpp updated: 1.7 -> 1.8
---
Log message:

Remove unnecessary register copy now that regalloc is fixed


---
Diffs of the changes:  (+0 -2)

 PPC32RegisterInfo.cpp |    2 --
 1 files changed, 2 deletions(-)


Index: llvm/lib/Target/PowerPC/PPC32RegisterInfo.cpp
diff -u llvm/lib/Target/PowerPC/PPC32RegisterInfo.cpp:1.7 llvm/lib/Target/PowerPC/PPC32RegisterInfo.cpp:1.8
--- llvm/lib/Target/PowerPC/PPC32RegisterInfo.cpp:1.7	Tue Oct 26 00:40:45 2004
+++ llvm/lib/Target/PowerPC/PPC32RegisterInfo.cpp	Mon Apr  4 16:48:13 2005
@@ -286,8 +286,6 @@
 
   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);
     }






More information about the llvm-commits mailing list