mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 04:33:40 +00:00
Emit saveri with the correct operand order, patch by Richard Pennington!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54313 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
64cf160fef
commit
e594fd473e
@ -137,7 +137,7 @@ void SparcRegisterInfo::emitPrologue(MachineFunction &MF) const {
|
||||
|
||||
if (NumBytes >= -4096) {
|
||||
BuildMI(MBB, MBB.begin(), TII.get(SP::SAVEri),
|
||||
SP::O6).addImm(NumBytes).addReg(SP::O6);
|
||||
SP::O6).addReg(SP::O6).addImm(NumBytes);
|
||||
} else {
|
||||
MachineBasicBlock::iterator InsertPt = MBB.begin();
|
||||
// Emit this the hard way. This clobbers G1 which we always know is
|
||||
|
Loading…
x
Reference in New Issue
Block a user