[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
Nate Begeman
natebegeman at mac.com
Thu Aug 12 21:45:24 PDT 2004
Changes in directory llvm/lib/Target/PowerPC:
PPC32ISelSimple.cpp updated: 1.61 -> 1.62
---
Log message:
Fix 177.mesa compilation, don't use floating point regs for base addresses!
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp
diff -u llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.61 llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.62
--- llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp:1.61 Thu Aug 12 22:56:49 2004
+++ llvm/lib/Target/PowerPC/PPC32ISelSimple.cpp Thu Aug 12 23:45:14 2004
@@ -1535,7 +1535,7 @@
.addReg(PPC::R1);
if (GPR_remaining > 0) {
BuildMI(BB, PPC::LWZ, 2, GPR[GPR_idx])
- .addSImm(ArgOffset).addReg(ArgReg);
+ .addSImm(ArgOffset).addReg(PPC::R1);
CallMI->addRegOperand(GPR[GPR_idx], MachineOperand::Use);
}
}
More information about the llvm-commits
mailing list