terminator.
No functionality change.
llvm-svn: 176326
return BT_None;
}
- BranchInstrs.insert(BranchInstrs.begin(), SecondLastInst);
-
// If there is only one terminator instruction, process it.
if (!SecondLastOpc) {
// Unconditional branch
if (++I != REnd && isUnpredicatedTerminator(&*I))
return BT_None;
+ BranchInstrs.insert(BranchInstrs.begin(), SecondLastInst);
+
// If second to last instruction is an unconditional branch,
// analyze it and remove the last instruction.
if (SecondLastOpc == UncondBrOpc) {