diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-06-15 17:34:48 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-06-15 17:34:48 +0000 |
commit | 93335459802fbbe61d5ca52831a636989b838094 (patch) | |
tree | 79b1656debdfd4a1147258be7dfab64ce9968537 /lib/CodeGen/IfConversion.cpp | |
parent | 9d46cd550761480c25eba51198e9d08068ba4c3f (diff) | |
download | external_llvm-93335459802fbbe61d5ca52831a636989b838094.zip external_llvm-93335459802fbbe61d5ca52831a636989b838094.tar.gz external_llvm-93335459802fbbe61d5ca52831a636989b838094.tar.bz2 |
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.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp index 9885ccc..93388df 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); |