parent
2ce663031f
commit
666cf56668
|
@ -95,8 +95,11 @@ Thumb2InstrInfo::ReplaceTailWithBranchTo(MachineBasicBlock::iterator Tail,
|
|||
bool
|
||||
Thumb2InstrInfo::isLegalToSplitMBBAt(MachineBasicBlock &MBB,
|
||||
MachineBasicBlock::iterator MBBI) const {
|
||||
while (MBBI->isDebugValue())
|
||||
while (MBBI->isDebugValue()) {
|
||||
++MBBI;
|
||||
if (MBBI == MBB.end())
|
||||
return false;
|
||||
}
|
||||
|
||||
unsigned PredReg = 0;
|
||||
return llvm::getITInstrPredicate(MBBI, PredReg) == ARMCC::AL;
|
||||
|
|
Loading…
Reference in New Issue