summaryrefslogtreecommitdiff
path: root/lib/CodeGen/IfConversion.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-06-15 17:34:48 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-06-15 17:34:48 +0000
commit93335459802fbbe61d5ca52831a636989b838094 (patch)
tree79b1656debdfd4a1147258be7dfab64ce9968537 /lib/CodeGen/IfConversion.cpp
parent9d46cd550761480c25eba51198e9d08068ba4c3f (diff)
downloadllvm-93335459802fbbe61d5ca52831a636989b838094.tar.gz
llvm-93335459802fbbe61d5ca52831a636989b838094.tar.bz2
llvm-93335459802fbbe61d5ca52831a636989b838094.tar.xz
Extra edges are deleted later if needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IfConversion.cpp')
-rw-r--r--lib/CodeGen/IfConversion.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp
index 9885ccc159..93388df854 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);