Use proper move instructions. Make the verifier happy.

llvm-svn: 91914
This commit is contained in:
Jakob Stoklund Olesen 2009-12-22 18:49:55 +00:00
parent bac37abe73
commit 6f579c12b1
1 changed files with 1 additions and 1 deletions

View File

@ -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)