Merge adjacent conditional.

llvm-svn: 71741
This commit is contained in:
Bob Wilson 2009-05-13 23:35:38 +00:00
parent 43467d7daf
commit 969bf71ca6
1 changed files with 0 additions and 2 deletions

View File

@ -947,9 +947,7 @@ bool IfConverter::IfConvertTriangle(BBInfo &BBI, IfcvtKind Kind) {
// Predicate the 'true' block after removing its branch.
CvtBBI->NonPredSize -= TII->RemoveBranch(*CvtBBI->BB);
PredicateBlock(*CvtBBI, CvtBBI->BB->end(), Cond);
}
if (!DupBB) {
// Now merge the entry of the triangle with the true block.
BBI.NonPredSize -= TII->RemoveBranch(*BBI.BB);
MergeBlocks(BBI, *CvtBBI);