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:
8cfa427
)
Fix 177.mesa compilation, don't use floating point regs for base addresses!
author
Nate Begeman
<natebegeman@mac.com>
Fri, 13 Aug 2004 04:45:14 +0000
(
04:45
+0000)
committer
Nate Begeman
<natebegeman@mac.com>
Fri, 13 Aug 2004 04:45:14 +0000
(
04:45
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15720
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPC32ISelSimple.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPC32ISelSimple.cpp
b/lib/Target/PowerPC/PPC32ISelSimple.cpp
index f17515942d81a1d556417f00234defd7ec227f48..eabe9d83ad5537e8d44a55e608c27ece0762518a 100644
(file)
--- a/
lib/Target/PowerPC/PPC32ISelSimple.cpp
+++ b/
lib/Target/PowerPC/PPC32ISelSimple.cpp
@@
-1535,7
+1535,7
@@
void ISel::doCall(const ValueRecord &Ret, MachineInstr *CallMI,
.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);
}
}