From 93335459802fbbe61d5ca52831a636989b838094 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 15 Jun 2007 17:34:48 +0000 Subject: [PATCH] Extra edges are deleted later if needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37593 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/IfConversion.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp index 9885ccc159a..93388df8542 100644 --- a/lib/CodeGen/IfConversion.cpp +++ b/lib/CodeGen/IfConversion.cpp @@ -806,7 +806,6 @@ bool IfConverter::IfConvertTriangle(BBInfo &BBI) { // Copy instructions in the true block, predicate them add them to // the entry block. CopyAndPredicateBlock(BBI, *CvtBBI, Cond, true); - BBI.BB->removeSuccessor(CvtBBI->BB); } else { // Predicate the 'true' block after removing its branch. CvtBBI->NonPredSize -= TII->RemoveBranch(*CvtBBI->BB);