mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix 177.mesa compilation, don't use floating point regs for base addresses!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15720 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8cfa427d9c
commit
293d88ca8b
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user