forked from OSchip/llvm-project
ARM: Nuke remnant bogus code.
r154362 was supposed to delete this bit, but obviously didn't. rdar://11305594 llvm-svn: 155465
This commit is contained in:
parent
040978403a
commit
1e75fc1fe1
|
@ -1177,8 +1177,6 @@ bool ARMLoadStoreOpt::FixInvalidRegPairOp(MachineBasicBlock &MBB,
|
|||
BaseReg, false, BaseUndef, false, OffUndef,
|
||||
Pred, PredReg, TII, isT2);
|
||||
NewBBI = llvm::prior(MBBI);
|
||||
if (isT2 && NewOpc == ARM::t2LDRi8 && OffImm+4 >= 0)
|
||||
NewOpc = ARM::t2LDRi12;
|
||||
InsertLDR_STR(MBB, MBBI, OffImm, isLd, dl, NewOpc,
|
||||
EvenReg, EvenDeadKill, false,
|
||||
BaseReg, BaseKill, BaseUndef, OffKill, OffUndef,
|
||||
|
|
Loading…
Reference in New Issue