mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Use proper move instructions. Make the verifier happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91914 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e261b0c90b
commit
e9912dc553
@ -1373,7 +1373,7 @@ emitPrologue(MachineFunction &MF) const {
|
||||
// bic r4, r4, MaxAlign
|
||||
// mov sp, r4
|
||||
// FIXME: It will be better just to find spare register here.
|
||||
BuildMI(MBB, MBBI, dl, TII.get(ARM::tMOVtgpr2gpr), ARM::R4)
|
||||
BuildMI(MBB, MBBI, dl, TII.get(ARM::tMOVgpr2tgpr), ARM::R4)
|
||||
.addReg(ARM::SP, RegState::Kill);
|
||||
AddDefaultCC(AddDefaultPred(BuildMI(MBB, MBBI, dl,
|
||||
TII.get(ARM::t2BICri), ARM::R4)
|
||||
|
Loading…
Reference in New Issue
Block a user