Revert the new EH instructions
This reverts commits r241888-r241891, I didn't mean to commit them. llvm-svn: 241893
This commit is contained in:
@@ -119,9 +119,8 @@ bool llvm::MergeBlockIntoPredecessor(BasicBlock *BB, DominatorTree *DT,
|
||||
|
||||
// Don't break self-loops.
|
||||
if (PredBB == BB) return false;
|
||||
// Don't break unwinding instructions.
|
||||
if (PredBB->getTerminator()->isExceptional())
|
||||
return false;
|
||||
// Don't break invokes.
|
||||
if (isa<InvokeInst>(PredBB->getTerminator())) return false;
|
||||
|
||||
succ_iterator SI(succ_begin(PredBB)), SE(succ_end(PredBB));
|
||||
BasicBlock *OnlySucc = BB;
|
||||
|
||||
Reference in New Issue
Block a user